Project Date
NLTEST 05 Aug 2022, 05:24

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
src/test/java/InspireTest/ngr/T02_Services.feature 17888 0 0 0 0 17888 344 0 344 4m 37s 164ms Passed
Tags: @step1
Feature src/test/java/InspireTest/ngr/T02_Services.feature
get details
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:27.424 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 003ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ebd029f5-6e8f-4d61-b89a-11427c96bf3a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd029f5-6e8f-4d61-b89a-11427c96bf3a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:28.318 [print] https:\/\/inspire.caris.nl\/gs4\/LAT2018OF\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:28.319 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 003ms
* print protocol2 000ms
05:23:28.323 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:28.323 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:28.324 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:28.325 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:28.327 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:28.329 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:28.330 [print] "true";"true" 
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:27.431 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 004ms
Tags: @step1
857ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 831ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:28.294 [print] https://www.gdngeoservices.nl/inspire/wms/olie_en_gasvelden?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:28.295 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:28.296 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 003ms
05:23:28.300 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:28.301 [print] TNO Geologische Dienst Nederland 
* print operateson 002ms
05:23:28.303 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:28.306 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:28.307 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:28.310 [print] "true";"false" 
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
013ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:27.413 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 011ms
Tags: @step1
787ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 763ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:28.200 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-aansluitende-zone-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:28.201 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:28.202 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:28.202 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:28.204 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:28.204 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=060d1139-c371-4c1e-9890-55999adfa4f9&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:28.206 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:28.207 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:28.208 [print] "true";"true" 
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 007ms
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:27.424 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
829ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 811ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:28.250 [print] https://inspire.caris.nl/gs5/am/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:28.251 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:28.252 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:28.252 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:28.253 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:28.253 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:28.255 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:28.256 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:28.257 [print] "true";"true" 
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:28.219 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
789ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1492fa63-96e2-406d-9a27-6affe281d848' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 756ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1492fa63-96e2-406d-9a27-6affe281d848' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 007ms
05:23:28.992 [print] https://inspire.caris.nl/geoserver/tz/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 005ms
05:23:28.998 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:29.000 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:29.000 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:29.002 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:29.002 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:29.005 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:29.007 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 002ms
05:23:29.010 [print] "true";"true" 
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:28.262 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '49ff0584-a173-4098-824c-119edf8447f7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 782ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:29.055 [print] https:\/\/services.rce.geovoorziening.nl\/rce\/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:29.056 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:29.057 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:29.058 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:29.059 [print] Rijksdienst voor het Cultureel Erfgoed 
* print operateson 000ms
05:23:29.060 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6f84efeb-fc1d-4565-a721-80735ea57dbd#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=88a3c1ae-902e-4efa-8663-ddd836101929#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:29.063 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:29.064 [print] "Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie";"Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:29.066 [print] "true";"true" 
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:28.315 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 784ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:29.112 [print] http://data.waterkwaliteitsportaal.nl/inspire/ds/nl.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:29.113 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:29.114 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:29.114 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:29.116 [print] Informatiehuis Water 
* print operateson 000ms
05:23:29.116 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:29.118 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:29.120 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:29.121 [print] "false";"true";"true" 
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:28.337 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 003ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:29.128 [print] http:\/\/services.inspire-provincies.nl\/ProductionAndIndustrialFacilities\/services\/download_PF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:29.129 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:29.130 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:29.130 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:29.131 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:23:29.131 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:29.133 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:29.134 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:29.135 [print] "false";"true";"true" 
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:29.014 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
791ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f00cd4f5-03e7-494f-8410-d07acf2247b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f00cd4f5-03e7-494f-8410-d07acf2247b1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:29.800 [print] https://service.pdok.nl/rvo/mosselenoesterhabitats/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:29.801 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:29.802 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:29.802 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:29.803 [print] Beheer PDOK 
* print operateson 000ms
05:23:29.803 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:29.805 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:29.806 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:29.808 [print] "true";"true" 
* eval db.writeln('"f00cd4f5-03e7-494f-8410-d07acf2247b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f00cd4f5-03e7-494f-8410-d07acf2247b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f00cd4f5-03e7-494f-8410-d07acf2247b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:29.070 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
925ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 908ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:29.988 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:29.989 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:29.990 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:29.990 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:29.991 [print] RIVM 
* print operateson 000ms
05:23:29.992 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:29.994 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:29.996 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:29.997 [print] "true";"true";"true" 
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:29.125 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
948ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 929ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:30.064 [print] https://geodata.nationaalgeoregister.nl/publiekrechtelijkebeperking/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:30.065 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:30.066 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:30.067 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:30.068 [print] Beheer PDOK 
* print operateson 000ms
05:23:30.069 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:30.071 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:30.072 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:30.073 [print] "true";"true" 
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:29.138 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
949ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8dcae920-002d-451d-9cef-cd4498358770' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 934ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8dcae920-002d-451d-9cef-cd4498358770' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:30.083 [print] https://service.pdok.nl/rvo/mosselenoesterhabitats/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:30.083 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:30.084 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:30.084 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:30.085 [print] Beheer PDOK 
* print operateson 000ms
05:23:30.085 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:30.086 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:30.087 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:30.088 [print] "true";"true" 
* eval db.writeln('"8dcae920-002d-451d-9cef-cd4498358770","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8dcae920-002d-451d-9cef-cd4498358770","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"8dcae920-002d-451d-9cef-cd4498358770","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:29.811 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b6d902f4-97e8-4bcc-ba87-e58134645ab7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 774ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b6d902f4-97e8-4bcc-ba87-e58134645ab7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:30.594 [print] https:\/\/inspire.caris.nl\/gs4\/LAT2018OF\/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:30.596 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:30.596 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:30.596 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:30.598 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:30.598 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:30.600 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:30.602 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:30.603 [print] "true";"true" 
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:30.001 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:30.798 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:30.799 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:30.799 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:30.799 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:30.800 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:23:30.800 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:30.802 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:30.803 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:30.803 [print] "false";"false" 
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:30.078 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 016ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:30.871 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:30.872 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:30.873 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:30.873 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:30.874 [print] RIVM 
* print operateson 000ms
05:23:30.874 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:30.876 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:30.877 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:30.878 [print] "true";"true";"true" 
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:30.092 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
811ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 794ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:30.897 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:30.898 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:30.899 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:30.899 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:30.900 [print] RIVM 
* print operateson 000ms
05:23:30.901 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:30.903 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:30.904 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:30.906 [print] "true";"true";"true" 
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:30.606 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 776ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:31.393 [print] https://haleconnect.com/ows/services/org.874.28716afd-1e98-4623-9239-8abbd9249408_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:31.394 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:31.395 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:31.395 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:31.396 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:23:31.396 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:31.397 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:31.399 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:31.399 [print] true 
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:30.814 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
772ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 754ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:31.579 [print] https://inspire.rivm.nl/sos/eaq/service?service=AQD&version=1.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:31.580 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:31.581 [print] OGC:SOS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:31.581 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:31.582 [print] RIVM 
* print operateson 000ms
05:23:31.583 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:31.586 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:31.587 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Voldoet aan de SDS interoperabilities specificaties.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Voldoet aan de download specificaties";"OGC Sensor Observation Service Interface Standard";"Conform OGC SOS specificaties" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:31.588 [print] "true";"true";"true" 
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:30.882 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
777ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 758ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:31.651 [print] https://www.gdngeoservices.nl/inspire/wfs/olie_en_gasvelden?service=WFS&request=GetCapabilities&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:31.652 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:31.653 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:31.653 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:31.655 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:23:31.655 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:31.657 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:31.659 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:31.661 [print] "true";"true" 
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:30.910 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 770ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:31.692 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:31.694 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:31.695 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:31.695 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:31.697 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:23:31.697 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:31.700 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:31.701 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:31.702 [print] "false";"false" 
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:31.404 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
773ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 757ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:32.171 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Maritieme-grenzen-Noordzee.gml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:32.172 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:32.173 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:32.173 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:32.174 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:32.175 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:32.176 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:32.178 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Dataset is geharmoniseerd";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:32.179 [print] "true";"true" 
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:31.593 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 761ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:32.363 [print] https://inspire.caris.nl/geoserver/gnwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:32.364 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
05:23:32.367 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:32.367 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:32.368 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:32.368 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:32.370 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:32.370 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:32.371 [print] "true";"true" 
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:31.665 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
794ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 780ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:32.455 [print] https://inspire.caris.nl/geoserver/baselinews/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:32.456 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:32.456 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:32.457 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:32.458 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:32.458 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:32.459 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:32.460 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:32.461 [print] "true";"true" 
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:31.706 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
809ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 001ms
And param id = '95e2c712-1b91-4f24-9453-c56b95227717' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 790ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:32.507 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:32.509 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:32.510 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:32.510 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:32.511 [print] RIVM 
* print operateson 000ms
05:23:32.512 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:32.514 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:32.515 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:32.517 [print] "true";"true";"true" 
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:32.183 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
779ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:32.958 [print] https://www.broinspireservices.nl/wms/ossosgm-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:32.959 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:32.960 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:32.960 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:32.960 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:23:32.960 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:32.962 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:32.963 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:32.963 [print] "true";"false" 
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:32.375 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
839ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 824ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:33.208 [print] http:\/\/services.inspire-provincies.nl\/EnvironmentalMonitoringFacilities\/services\/download_EF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:33.208 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:33.218 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:33.218 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:33.220 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:23:33.220 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:33.222 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:33.223 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:33.224 [print] "false";"true";"true" 
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:32.465 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
814ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 791ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:33.266 [print] https://inspire.caris.nl/geoserver/eez/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:33.267 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 008ms
05:23:33.276 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:33.276 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:33.277 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:33.277 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:33.279 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:33.280 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:33.281 [print] "true";"true" 
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:32.524 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
833ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 790ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 013ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:33.337 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/hy-n\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 005ms
05:23:33.344 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
05:23:33.346 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:33.346 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 001ms
05:23:33.349 [print] Beheer PDOK 
* print operateson 000ms
05:23:33.349 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:33.351 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 002ms
* print corConformanceTitles 000ms
05:23:33.356 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:33.357 [print] "true";"true" 
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:32.967 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
777ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0426f471-f325-42ed-a775-81c397592e86' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 759ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:33.735 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:33.737 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:33.738 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:33.738 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:33.739 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:23:33.740 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:33.742 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:33.743 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:33.745 [print] "false";"false" 
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:33.228 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 755ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:33.993 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:33.994 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:33.995 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:33.995 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:33.995 [print] RIVM 
* print operateson 000ms
05:23:33.995 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:33.997 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:33.998 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:33.999 [print] "true";"true";"true" 
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:33.289 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
813ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'deb81ebe-c7a7-42ba-bc21-f07cd348c3e8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 799ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'deb81ebe-c7a7-42ba-bc21-f07cd348c3e8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:34.097 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw-inspire?request=GetCapabilities&Service=CSW&Version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:34.098 [print] OGC:CSW 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:34.099 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:34.099 [print] OGC:CSW 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:34.100 [print] Beheer PDOK 
* print operateson 000ms
05:23:34.100 [print] #notpresent 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:34.101 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-discovery-services-0" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:34.102 [print] "Deze service is conform INSPIRE richtlijn betreffende netwerkdiensten";"Deze service is conform INSPIRE richtlijn betreffende diensten met betrekking tot ruimtelijke gegevens";"Deze service is conform de Technical Guidance for INSPIRE Discovery Services" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:34.103 [print] "true";"true";"true" 
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:33.373 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 001ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 002ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:34.164 [print] https://www.gdngeoservices.nl/inspire/wms/zoutvelden_en_productieputten?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 004ms
* print protocol1 000ms
05:23:34.168 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:34.169 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:34.169 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:34.170 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:23:34.170 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:34.171 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:34.172 [print] "Technical Guidance for the implementation of INSPIRE View Services";"De service voldoet niet aan de richtlijnen van INSPIRE vanwege technische beperkingen";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:34.173 [print] "false";"false" 
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:33.750 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 769ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:34.529 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:34.530 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:34.531 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:34.531 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:34.532 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:23:34.532 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:34.533 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:34.534 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:34.535 [print] "false";"false" 
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:34.002 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
766ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 749ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:34.760 [print] http://services.inspire-provincies.nl/EnvironmentalMonitoringFacilities/services/view_EF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:34.761 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:34.762 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:34.763 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:34.764 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:23:34.764 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:34.766 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:34.768 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:34.769 [print] "false";"true";"true" 
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:34.106 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
782ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1e2cb7d4-934a-437a-809e-fda67b4a8824' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 761ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1e2cb7d4-934a-437a-809e-fda67b4a8824' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 004ms
* print connectUrl 000ms
05:23:34.880 [print] https://inspire.caris.nl/geoserver/eez/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:34.881 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:34.882 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:34.883 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:34.884 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:34.885 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:34.887 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:34.888 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:34.889 [print] "true";"true" 
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:34.177 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
791ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 776ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:34.962 [print] https://inspire.caris.nl/gs5/am/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:34.963 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:34.964 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:34.964 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:34.965 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:34.965 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:34.967 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:34.968 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:34.969 [print] "true";"true" 
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:34.539 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
827ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 772ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 013ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 028ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:35.364 [print] https://www.gdngeoservices.nl/inspire/wfs/zoutvelden_en_productieputten?service=WFS&request=GetCapabilities&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:35.365 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:35.366 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:35.366 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:35.367 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:23:35.367 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:35.368 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:35.369 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:35.370 [print] "true";"true" 
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:34.773 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 780ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:35.563 [print] https://inspire.rivm.nl/geoserver/airq/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:35.563 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:35.564 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:35.565 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:35.565 [print] RIVM 
* print operateson 000ms
05:23:35.566 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:35.567 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:35.569 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:35.570 [print] "true";"true";"true" 
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:34.893 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
803ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e010ca7e-090b-4e38-9ce3-561dcf94fb63' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e010ca7e-090b-4e38-9ce3-561dcf94fb63' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:35.691 [print] https://service.pdok.nl/rws/geluidbelasting/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:35.692 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:35.692 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:35.693 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:35.694 [print] Beheer PDOK 
* print operateson 000ms
05:23:35.694 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=undefined#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=undefined#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=undefined#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:35.695 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:35.696 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:35.697 [print] "true";"true" 
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:34.973 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
803ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 006ms
05:23:35.767 [print] https://inspire.caris.nl/geoserver/cz/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:35.768 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:35.769 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:35.770 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:35.772 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:35.772 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=060d1139-c371-4c1e-9890-55999adfa4f9&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:35.774 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:35.776 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:35.777 [print] "true";"true" 
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:35.382 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '364c5d7a-d6ec-11ea-87d0-0242ac130003' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 762ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '364c5d7a-d6ec-11ea-87d0-0242ac130003' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:36.155 [print] #notpresent 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:36.156 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:36.157 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:36.157 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:36.158 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:23:36.159 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=2a379cc6-d16e-11ea-87d0-0242ac130003&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:36.160 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:36.161 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:36.162 [print] "true";"true" 
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:35.574 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
797ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5f0c583a-101e-45ea-b684-a056713cf811' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:36.362 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-baseline-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:36.363 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:36.364 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:36.365 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:36.366 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:36.366 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:36.368 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:36.370 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:36.371 [print] "true";"true" 
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:35.701 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
784ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 768ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:36.479 [print] http://services.inspire-provincies.nl/NaturalRiskZones/services/view_NZ?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:36.480 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:36.481 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:36.481 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:36.482 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:23:36.483 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:36.485 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:36.486 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:36.488 [print] "false";"true";"true" 
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:35.783 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
778ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 765ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:36.556 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:36.557 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:36.558 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:36.558 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:36.559 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:36.559 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:36.561 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:36.562 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:36.562 [print] "true";"true" 
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:36.165 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
823ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '914a6e0c-2aae-42f8-8425-2a047c245dab' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 809ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '914a6e0c-2aae-42f8-8425-2a047c245dab' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:36.983 [print] https://haleconnect.com/ows/services/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:36.983 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:36.984 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:36.985 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:36.985 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:23:36.986 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:36.987 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:36.988 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:36.990 [print] true 
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:36.376 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
787ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:37.158 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wcs?request=GetCapabilities&service=WCS&version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:37.159 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:37.160 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:37.161 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:37.162 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:37.162 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:37.164 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:37.165 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services 2.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:37.166 [print] "true";"true" 
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:36.491 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 003ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
772ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 758ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:37.263 [print] https:\/\/geodata.nationaalgeoregister.nl\/rwsgeluidskaarten\/wfs?service=WFS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:37.263 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:37.264 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:37.264 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:37.265 [print] Beheer PDOK 
* print operateson 000ms
05:23:37.265 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:37.267 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:37.268 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:37.269 [print] "true";"true" 
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:36.566 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 004ms
Tags: @step1
758ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6b574ba3-3b1c-4f29-a631-0f160713d96c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 746ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b574ba3-3b1c-4f29-a631-0f160713d96c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:37.324 [print] https://haleconnect.com/ows/services/org.292.6b574ba3-3b1c-4f29-a631-0f160713d96a_wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:37.325 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:37.326 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:37.326 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:37.327 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:37.327 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6b574ba3-3b1c-4f29-a631-0f160713d96d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:37.328 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:37.329 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:37.330 [print] true 
* eval db.writeln('"6b574ba3-3b1c-4f29-a631-0f160713d96c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6b574ba3-3b1c-4f29-a631-0f160713d96c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6b574ba3-3b1c-4f29-a631-0f160713d96c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:36.993 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 772ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 000ms
05:23:37.776 [print] https://inspire.caris.nl/geoserver3/rws/wcs?service=WCS&version=2.0.1&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:37.777 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:37.778 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:37.778 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:37.779 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:37.780 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 009ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:37.790 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:37.792 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:37.793 [print] "true";"true" 
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:37.177 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 002ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
805ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:37.978 [print] https://inspire.caris.nl/geoserver3/rws/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:37.978 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:37.979 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:37.980 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:37.981 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:37.981 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:37.983 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:37.984 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:37.985 [print] "false";"true" 
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:37.274 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 003ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
815ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 784ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4' 004ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
05:23:38.078 [print] https:\/\/www.rijkswaterstaat.nl\/apps\/geoservices\/geodata\/dmc\/bodemhoogte_1mtr_insp 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:38.080 [print] ["landingpage","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:38.081 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:38.081 [print] ["landingpage","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:38.082 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:38.082 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:38.085 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:38.087 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:38.088 [print] "true";"true" 
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 005ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:37.333 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
812ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 786ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:38.132 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/gdr\/bodemhoogte_1mtr\/ows?service=WCS&request=getcapabilities&version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:38.133 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:23:38.135 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:38.135 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:38.136 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:38.136 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:38.138 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:38.140 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:38.142 [print] "false";"true" 
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 003ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:37.798 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
811ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d983730-e750-485a-9c0c-39bf9bt72cf8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 790ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d983730-e750-485a-9c0c-39bf9bt72cf8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:38.602 [print] https://www.rijkswaterstaat.nl/apps/geoservices/geodata/dmc/bodemhoogte_5mtr_atom_index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:38.603 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:38.604 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:38.605 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:38.606 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:38.606 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:38.608 [print] http://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-download-services 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:38.610 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:38.611 [print] "true";"true" 
* eval db.writeln('"9d983730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d983730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9d983730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:37.989 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
767ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6b574ba3-3b1c-4f29-a631-0f160713d96b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 751ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b574ba3-3b1c-4f29-a631-0f160713d96b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:38.751 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.6b574ba3-3b1c-4f29-a631-0f160713d96a_wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:38.752 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:38.752 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:38.753 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:38.753 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:38.754 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6b574ba3-3b1c-4f29-a631-0f160713d96d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:38.755 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:38.756 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:38.758 [print] "true";"true" 
* eval db.writeln('"6b574ba3-3b1c-4f29-a631-0f160713d96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6b574ba3-3b1c-4f29-a631-0f160713d96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6b574ba3-3b1c-4f29-a631-0f160713d96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:38.098 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c3955762-73a3-4c16-a15c-f3869487a1eb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 772ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3955762-73a3-4c16-a15c-f3869487a1eb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:38.880 [print] https://haleconnect.com/ows/services/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:38.881 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:38.882 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:38.882 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:38.883 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:38.883 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3955762-73a3-4c16-a15c-f3869487a1ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:38.885 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:38.887 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:38.888 [print] "true";"true" 
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:38.149 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
765ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c3955762-73a3-4c16-a15c-f3869487a1ec' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 750ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3955762-73a3-4c16-a15c-f3869487a1ec' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:38.908 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:38.909 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:38.910 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:38.911 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:38.912 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:38.912 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3955762-73a3-4c16-a15c-f3869487a1ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:38.914 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:38.915 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:38.915 [print] true 
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:38.615 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
791ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '604d241d-6792-4286-bbef-44b2ce5c38cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 774ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '604d241d-6792-4286-bbef-44b2ce5c38cc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:39.399 [print] https:\/\/marineprojects.openearth.nl\/geoserver\/ihm_krm\/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:39.400 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:39.401 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:39.401 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:39.402 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:39.403 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=604d241d-6792-4286-bbef-44b2ce5c38c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:39.405 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:39.406 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:39.407 [print] true 
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:38.761 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '604d241d-6792-4286-bbef-44b2ce5c38cb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 776ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '604d241d-6792-4286-bbef-44b2ce5c38cb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:39.547 [print] https:\/\/marineprojects.openearth.nl\/geoserver\/ihm_krm\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:39.548 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:39.549 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:39.549 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:39.550 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:39.550 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=604d241d-6792-4286-bbef-44b2ce5c38c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:39.553 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:39.554 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:39.555 [print] "true";"true" 
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:38.891 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
784ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c48322f-f9cf-4a08-aa63-c4de080c13aac' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 770ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c48322f-f9cf-4a08-aa63-c4de080c13aac' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:39.670 [print] https://haleconnect.com/ows/services/org.292.7c48322f-f9cf-4a08-aa63-c4de080c13a1_wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:39.671 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:39.671 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:39.672 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:39.672 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:39.673 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c48322f-f9cf-4a08-aa63-c4de080c13aab#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:39.674 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:39.675 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:39.677 [print] "true";"true" 
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13aac","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13aac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13aac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:38.921 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
793ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c48322f-f9cf-4a08-aa63-c4de080c13aad' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c48322f-f9cf-4a08-aa63-c4de080c13aad' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:39.707 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.7c48322f-f9cf-4a08-aa63-c4de080c13a1_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:39.708 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:39.709 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:39.709 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:39.710 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:39.710 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c48322f-f9cf-4a08-aa63-c4de080c13aab#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:39.712 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:39.713 [print] Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:39.714 [print] true 
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13aad","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13aad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13aad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:39.411 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f4520ae7-9229-4132-8d42-37b4f962212c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 769ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f4520ae7-9229-4132-8d42-37b4f962212c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:40.190 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.cfc800cb-e903-4364-9415-ddd3e0ecf49f_wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:40.190 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:40.191 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:40.191 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:40.192 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:40.192 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f4520ae7-9229-4132-8d42-37b4f962212a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:40.194 [print] https://inspire.ec.europa.eu/id/document/tg/tn 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:40.195 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:40.195 [print] true 
* eval db.writeln('"f4520ae7-9229-4132-8d42-37b4f962212c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f4520ae7-9229-4132-8d42-37b4f962212c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f4520ae7-9229-4132-8d42-37b4f962212c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:39.560 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 005ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
840ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f4520ae7-9229-4132-8d42-37b4f962212b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 825ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f4520ae7-9229-4132-8d42-37b4f962212b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:40.399 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.cfc800cb-e903-4364-9415-ddd3e0ecf49f_wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:40.400 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:40.401 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:40.401 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:40.402 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:40.402 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f4520ae7-9229-4132-8d42-37b4f962212a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:40.404 [print] "https:\/\/inspire.ec.europa.eu\/id\/document\/tg\/tn";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:40.405 [print] "INSPIRE Data Specification on Transport Networks \u2013 Technical Guidelines";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:40.406 [print] "true";"true" 
* eval db.writeln('"f4520ae7-9229-4132-8d42-37b4f962212b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f4520ae7-9229-4132-8d42-37b4f962212b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"f4520ae7-9229-4132-8d42-37b4f962212b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:39.680 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
772ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '917b5ba0-4fdd-4654-8c18-b3ccdadaa55c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 758ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '917b5ba0-4fdd-4654-8c18-b3ccdadaa55c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:40.446 [print] https://haleconnect.com/ows/services/org.292.917b5ba0-4fdd-4654-8c18-b3ccdadaa550_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:40.447 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:40.448 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:40.448 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:40.449 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:40.449 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=917b5ba0-4fdd-4654-8c18-b3ccdadaa55a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:40.451 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:40.452 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:40.453 [print] true 
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:39.717 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
782ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cefad637-5ffd-4dd0-b475-bc125a11f7ec' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 762ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cefad637-5ffd-4dd0-b475-bc125a11f7ec' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:40.489 [print] https://haleconnect.com/ows/services/org.292.cefad637-5ffd-4dd0-b475-bc125a11f7e6_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:40.491 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:40.492 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:40.492 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:40.493 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:40.494 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cefad637-5ffd-4dd0-b475-bc125a11f7ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:40.496 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:40.497 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:40.498 [print] true 
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 003ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:40.198 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cefad637-5ffd-4dd0-b475-bc125a11f7eb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cefad637-5ffd-4dd0-b475-bc125a11f7eb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:40.995 [print] https://haleconnect.com/ows/services/org.292.cefad637-5ffd-4dd0-b475-bc125a11f7e6_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:40.996 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:40.997 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:40.997 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:40.998 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:40.999 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cefad637-5ffd-4dd0-b475-bc125a11f7ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:41.000 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:41.002 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:41.004 [print] "true";"true" 
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:40.410 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
791ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 774ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:41.195 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/hws\/wm\/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:41.196 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:41.197 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:41.197 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:41.198 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:41.199 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:41.201 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:41.202 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:41.203 [print] true 
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:40.456 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
789ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:41.239 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/hws\/wm\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:41.240 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:41.241 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:41.241 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:41.242 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:41.243 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:41.244 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:41.245 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:41.246 [print] "true";"true" 
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:40.504 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 762ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:41.275 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:41.276 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:41.277 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:41.277 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:41.278 [print] RIVM 
* print operateson 000ms
05:23:41.278 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:41.280 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:41.281 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:41.282 [print] "true";"true";"true" 
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:41.007 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
809ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '745968a3-37af-4406-988e-ec595f58c7fe' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 795ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:41.811 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:41.813 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:41.814 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:41.814 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:41.815 [print] RIVM 
* print operateson 000ms
05:23:41.815 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:41.817 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:41.818 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:41.819 [print] "true";"true";"true" 
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:41.206 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7d33772b-8bb4-4c9a-b5b4-07ada37694cd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 752ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7d33772b-8bb4-4c9a-b5b4-07ada37694cd' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:41.968 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:41.969 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:41.971 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:41.971 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:41.972 [print] KNMI 
* print operateson 000ms
05:23:41.972 [print] https://haleconnect.com/services/bsp/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:41.974 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:41.975 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:41.976 [print] true 
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:41.249 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
810ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bbf57a25-0476-4d46-8e68-caaa5864a177' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 796ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bbf57a25-0476-4d46-8e68-caaa5864a177' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:42.054 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:42.055 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:42.056 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:42.056 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:42.057 [print] KNMI 
* print operateson 000ms
05:23:42.057 [print] https://haleconnect.com/services/bsp/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:42.059 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:42.060 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:42.061 [print] true 
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:41.285 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '95664230-19bc-4f33-b2cf-10aedbe75c11' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 784ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95664230-19bc-4f33-b2cf-10aedbe75c11' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:42.078 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:42.079 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:42.080 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:42.080 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:42.081 [print] KNMI 
* print operateson 000ms
05:23:42.081 [print] https://haleconnect.com/services/bsp/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:42.083 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:42.084 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:42.085 [print] true 
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:41.822 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '55cf16e8-1c04-462c-b78a-e0d28823dd2e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '55cf16e8-1c04-462c-b78a-e0d28823dd2e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:42.616 [print] https://haleconnect.com/ows/services/org.874.c4108a11-bdbb-4461-8902-423531561a7e_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:42.616 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:42.617 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:42.617 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:42.618 [print] KNMI 
* print operateson 000ms
05:23:42.618 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:42.620 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:42.622 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:42.623 [print] true 
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:41.979 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
771ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62b01550-9007-4634-b008-bd6071b34b2c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 759ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62b01550-9007-4634-b008-bd6071b34b2c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:42.746 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.1d098355-23c3-4bd3-adf6-192549933ec3?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:42.747 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:42.747 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:42.748 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:42.748 [print] KNMI 
* print operateson 000ms
05:23:42.748 [print] https://haleconnect.com/services/bsp/org.874.1d098355-23c3-4bd3-adf6-192549933ec3/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:42.750 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:42.750 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:42.751 [print] true 
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:42.064 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ff2a91df-931c-46fe-8f07-a1ec64e1335e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 780ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff2a91df-931c-46fe-8f07-a1ec64e1335e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:42.851 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:42.852 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:42.853 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:42.853 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:42.854 [print] KNMI 
* print operateson 000ms
05:23:42.854 [print] https://haleconnect.com/services/bsp/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:42.855 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:42.856 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:42.857 [print] true 
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:42.088 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
817ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9de0d2fa-debc-4f27-8298-5399b7844962' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 801ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9de0d2fa-debc-4f27-8298-5399b7844962' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:42.896 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.1d098355-23c3-4bd3-adf6-192549933ec3?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:23:42.899 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:42.900 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:42.901 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:42.902 [print] KNMI 
* print operateson 000ms
05:23:42.902 [print] https://haleconnect.com/services/bsp/org.874.1d098355-23c3-4bd3-adf6-192549933ec3/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:42.904 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:42.905 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:42.906 [print] true 
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:42.626 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
863ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 001ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2c2cc118-dee5-448f-9658-e2649bcb7d7f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 851ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2c2cc118-dee5-448f-9658-e2649bcb7d7f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:43.486 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:43.486 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:43.487 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:43.487 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:43.488 [print] KNMI 
* print operateson 000ms
05:23:43.488 [print] https://haleconnect.com/services/bsp/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:43.489 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:43.490 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:43.490 [print] true 
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:42.754 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
809ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '17db4dd9-462f-4b9e-b14f-0004cacdafbb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 798ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17db4dd9-462f-4b9e-b14f-0004cacdafbb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:43.559 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:43.560 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:43.561 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:43.561 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:43.562 [print] KNMI 
* print operateson 000ms
05:23:43.562 [print] https://haleconnect.com/services/bsp/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:43.563 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:43.564 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:43.564 [print] true 
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:42.860 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
852ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3fa3aa0b-cd4a-4680-ad2e-89fc28411565' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 819ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3fa3aa0b-cd4a-4680-ad2e-89fc28411565' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 020ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:43.707 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:43.708 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:43.709 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:43.709 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:43.710 [print] KNMI 
* print operateson 000ms
05:23:43.710 [print] https://haleconnect.com/services/bsp/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:43.711 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:43.712 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:43.713 [print] true 
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:42.910 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
825ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 809ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:43.728 [print] http://data.waterkwaliteitsportaal.nl/inspire/vs/AM 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:43.729 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:43.730 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:43.730 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:43.731 [print] Informatiehuis Water 
* print operateson 000ms
05:23:43.732 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:43.734 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:43.735 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Zie de gerefereerde specificatie.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:43.736 [print] "false";"true";"true" 
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:43.494 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
778ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 763ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:44.266 [print] https://www.broinspireservices.nl/wfs/ossosgm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:44.267 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:44.268 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:44.268 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:44.269 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:23:44.269 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:44.271 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:44.272 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:44.273 [print] "true";"true" 
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:43.567 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
808ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 794ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:44.370 [print] https://inspire.caris.nl/geoserver/gn/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:44.371 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:44.372 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:44.372 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:44.373 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:44.373 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:44.374 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:44.375 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:44.377 [print] "true";"true" 
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:43.716 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
805ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 790ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:44.516 [print] https:\/\/geodata.nationaalgeoregister.nl\/inspire\/ad\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:44.517 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:44.518 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:44.518 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:44.519 [print] Beheer PDOK 
* print operateson 000ms
05:23:44.520 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:44.521 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:44.522 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:44.523 [print] "true";"true" 
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:43.740 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
827ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5be1b57b-2cac-4119-92eb-700346543d47' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 813ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:44.562 [print] https://inspire.caris.nl/geoserver/boundary/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:44.563 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:44.564 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:44.564 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:44.565 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:44.565 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:44.567 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:44.568 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Dataset is geharmoniseerd";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:44.569 [print] "true";"true" 
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:44.277 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
789ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 777ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:45.063 [print] https://inspire.caris.nl/gs5/MarineRegion/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:45.064 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:45.065 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:45.065 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:45.066 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:45.066 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:45.067 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:45.068 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:45.069 [print] "true";"true" 
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:44.380 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
779ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cf89409f-e268-4adb-9f34-a63b84ecfc12' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 764ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf89409f-e268-4adb-9f34-a63b84ecfc12' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:45.152 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:45.153 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:45.154 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:45.154 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:45.155 [print] KNMI 
* print operateson 000ms
05:23:45.155 [print] https://haleconnect.com/services/bsp/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:45.159 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:45.160 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:45.160 [print] true 
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:44.526 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
782ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 769ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:45.304 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:45.304 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:45.305 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:45.305 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:45.306 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:45.306 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:45.307 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:45.308 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:45.309 [print] "true";"true" 
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:44.573 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 776ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:45.357 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:45.357 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:45.358 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:45.358 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:45.359 [print] RIVM 
* print operateson 000ms
05:23:45.359 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:45.360 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:45.361 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:45.362 [print] "true";"true";"true" 
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:45.073 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2f28bd85-0afc-4dc1-85f3-dac55c1b485e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 777ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f28bd85-0afc-4dc1-85f3-dac55c1b485e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:45.859 [print] https://haleconnect.com/ows/services/org.874.c4108a11-bdbb-4461-8902-423531561a7e_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:45.860 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:45.860 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:45.861 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:45.861 [print] KNMI 
* print operateson 000ms
05:23:45.861 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:45.863 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:45.864 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:45.865 [print] true 
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:45.164 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
811ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2350b86b-3efd-47e4-883e-519bfa8d0abb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 800ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2350b86b-3efd-47e4-883e-519bfa8d0abb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:45.972 [print] https://haleconnect.com/ows/services/org.292.2350b86b-3efd-47e4-883e-519bfa8d0aba_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:45.973 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:45.973 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:45.973 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:45.974 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:45.974 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2350b86b-3efd-47e4-883e-519bfa8d0abd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:45.976 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:45.976 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:45.977 [print] "true";"true" 
* eval db.writeln('"2350b86b-3efd-47e4-883e-519bfa8d0abb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2350b86b-3efd-47e4-883e-519bfa8d0abb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2350b86b-3efd-47e4-883e-519bfa8d0abb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:45.312 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
794ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '917b5ba0-4fdd-4654-8c18-b3ccdadaa55b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 782ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '917b5ba0-4fdd-4654-8c18-b3ccdadaa55b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:46.102 [print] https://haleconnect.com/ows/services/org.292.917b5ba0-4fdd-4654-8c18-b3ccdadaa550_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:46.103 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:46.104 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:46.104 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:46.104 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:46.105 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=917b5ba0-4fdd-4654-8c18-b3ccdadaa55a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:46.106 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:46.107 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:46.107 [print] "true";"true" 
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:45.365 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2350b86b-3efd-47e4-883e-519bfa8d0aba' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 765ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2350b86b-3efd-47e4-883e-519bfa8d0aba' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:46.137 [print] https://haleconnect.com/ows/services/org.292.2350b86b-3efd-47e4-883e-519bfa8d0aba_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:46.138 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:46.139 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:46.139 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:46.139 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:46.139 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2350b86b-3efd-47e4-883e-519bfa8d0abd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:46.141 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:46.142 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:46.142 [print] true 
* eval db.writeln('"2350b86b-3efd-47e4-883e-519bfa8d0aba","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2350b86b-3efd-47e4-883e-519bfa8d0aba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2350b86b-3efd-47e4-883e-519bfa8d0aba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:45.868 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 783ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:46.660 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:46.661 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:46.661 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:46.661 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:46.662 [print] RIVM 
* print operateson 000ms
05:23:46.662 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:46.664 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:46.665 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 003ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:46.669 [print] "true";"true";"true" 
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:45.980 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
844ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 832ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:46.820 [print] https://inspire.caris.nl/gs5/MarineRegion/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:46.821 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:46.821 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:46.822 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:46.822 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:23:46.822 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:46.824 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:46.825 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:46.825 [print] "true";"true" 
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:46.110 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
767ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '504afbe6-0069-411b-b69b-2aae3728f73c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 752ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '504afbe6-0069-411b-b69b-2aae3728f73c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:46.871 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.504afbe6-0069-411b-b69b-2aae3728f735_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:46.872 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:46.873 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:46.873 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:46.874 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:46.875 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=504afbe6-0069-411b-b69b-2aae3728f73a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:46.876 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:46.878 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:46.879 [print] true 
* eval db.writeln('"504afbe6-0069-411b-b69b-2aae3728f73c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"504afbe6-0069-411b-b69b-2aae3728f73c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"504afbe6-0069-411b-b69b-2aae3728f73c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:46.145 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
765ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '504afbe6-0069-411b-b69b-2aae3728f73b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 751ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '504afbe6-0069-411b-b69b-2aae3728f73b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:46.904 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.504afbe6-0069-411b-b69b-2aae3728f735_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:46.905 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:46.906 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:46.906 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:46.907 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:46.908 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=504afbe6-0069-411b-b69b-2aae3728f73a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:46.909 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:46.910 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:46.911 [print] "true";"true" 
* eval db.writeln('"504afbe6-0069-411b-b69b-2aae3728f73b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"504afbe6-0069-411b-b69b-2aae3728f73b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"504afbe6-0069-411b-b69b-2aae3728f73b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:46.673 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
771ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cfc800cb-e903-4364-9415-ddd3e0ecf49b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 758ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cfc800cb-e903-4364-9415-ddd3e0ecf49b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:47.440 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.6cef2128-a227-4aa7-bc74-0e3797644d51_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:47.441 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:47.441 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:47.441 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:47.442 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:47.442 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cfc800cb-e903-4364-9415-ddd3e0ecf49f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:47.444 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:47.445 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:47.445 [print] "true";"true" 
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:46.828 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
757ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cfc800cb-e903-4364-9415-ddd3e0ecf49c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 741ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cfc800cb-e903-4364-9415-ddd3e0ecf49c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:47.581 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.6cef2128-a227-4aa7-bc74-0e3797644d51_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:47.582 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:47.582 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:47.583 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:47.583 [print] Rijkswaterstaat 
* print operateson 000ms
05:23:47.583 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cfc800cb-e903-4364-9415-ddd3e0ecf49f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:47.585 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:47.586 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:47.587 [print] true 
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:46.882 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
811ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 799ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:47.690 [print] http://services.inspire-provincies.nl/NaturalRiskZones/services/download_NZ?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:47.690 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:47.691 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:47.691 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:47.692 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:23:47.692 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:47.693 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:47.694 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:47.695 [print] "false";"true";"true" 
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:46.915 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
812ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 801ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:47.723 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:47.724 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:47.725 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:47.725 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:47.725 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:23:47.725 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:47.727 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:47.728 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:47.728 [print] "false";"false" 
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:47.448 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '03c39474-aef9-4169-95da-9890af440b14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 770ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:48.226 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:48.227 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:48.228 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:48.228 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:48.228 [print] RIVM 
* print operateson 000ms
05:23:48.228 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:48.230 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 005ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:48.236 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:48.237 [print] "true";"true";"true" 
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:47.590 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
818ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 807ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:48.404 [print] https://www.broinspireservices.nl/wfs/ossobor-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:48.405 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:48.405 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:48.405 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:48.406 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:23:48.406 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:48.407 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:48.408 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:48.409 [print] "true";"true" 
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:47.698 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
819ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 808ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:48.513 [print] https://www.gdngeoservices.nl/inspire/wms/oppervlaktegeologie?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:48.514 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:48.514 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:48.515 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:48.515 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:23:48.515 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:48.516 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:48.517 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:48.518 [print] "true";"false" 
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:47.731 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
815ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540z0b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 804ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540z0b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:48.542 [print] https://service.pdok.nl/kadaster/adressen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:48.542 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:48.543 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:48.543 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:48.544 [print] Beheer PDOK 
* print operateson 000ms
05:23:48.544 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:48.545 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:48.546 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:48.547 [print] "true";"true" 
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:48.240 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
778ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:49.015 [print] https://inspire.rivm.nl/geoserver/airq/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:49.015 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:49.016 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:49.016 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:49.017 [print] RIVM 
* print operateson 000ms
05:23:49.017 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:49.018 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:49.019 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:49.020 [print] "true";"true";"true" 
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:48.412 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
826ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1e01d173-96f4-40b1-8236-c6a9cfdac252' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 790ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1e01d173-96f4-40b1-8236-c6a9cfdac252' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 017ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:49.226 [print] https://haleconnect.com/ows/services/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:49.227 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:49.228 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:49.228 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:49.228 [print] KNMI 
* print operateson 000ms
05:23:49.228 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:49.232 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:49.233 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:49.234 [print] true 
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 005ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:48.520 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1009c2a4-4dba-49a5-b643-914ba8b80b52' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1009c2a4-4dba-49a5-b643-914ba8b80b52' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:49.302 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:49.303 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:49.304 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:49.305 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:49.306 [print] KNMI 
* print operateson 000ms
05:23:49.306 [print] https://haleconnect.com/services/bsp/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:49.308 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:49.309 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:49.310 [print] true 
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:48.550 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 781ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:49.339 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:49.340 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:49.341 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:49.342 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:49.343 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:23:49.343 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:49.345 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:49.346 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:49.347 [print] "false";"false" 
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 004ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:49.023 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
822ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 808ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:49.839 [print] http:\/\/services.inspire-provincies.nl\/ProductionAndIndustrialFacilities\/services\/view_PF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:49.840 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:49.841 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:49.841 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:49.842 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:23:49.842 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:49.844 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:49.845 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:49.846 [print] "false";"true";"true" 
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:49.242 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
879ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 865ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:50.115 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wms/?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:50.116 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:50.117 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:50.118 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:50.119 [print] Beheer PDOK 
* print operateson 000ms
05:23:50.119 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:50.121 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:50.122 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:50.123 [print] "true";"true" 
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:49.313 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
887ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 872ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:50.194 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:50.195 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:50.196 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:50.197 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:50.198 [print] Beheer PDOK 
* print operateson 000ms
05:23:50.199 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:50.200 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:50.201 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:50.203 [print] "true";"true" 
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:49.355 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
932ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 916ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:50.281 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wms/?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:50.282 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:50.283 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:50.283 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:50.284 [print] Beheer PDOK 
* print operateson 000ms
05:23:50.285 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:50.287 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:50.288 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 001ms
05:23:50.290 [print] "true";"true" 
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:49.849 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
835ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 824ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:50.681 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:50.682 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:50.682 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:50.682 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:50.683 [print] Beheer PDOK 
* print operateson 000ms
05:23:50.683 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:50.684 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:50.685 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:50.686 [print] "true";"true" 
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:50.126 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 782ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:50.916 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:50.917 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:50.917 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:50.917 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:50.918 [print] Beheer PDOK 
* print operateson 000ms
05:23:50.918 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:50.919 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:50.920 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:50.920 [print] "true";"true" 
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:50.207 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
814ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 795ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:51.013 [print] https:\/\/service.pdok.nl\/hwh\/luchtfotorgb\/wms\/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:51.014 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:51.015 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:51.015 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:51.017 [print] Beheer PDOK 
* print operateson 000ms
05:23:51.017 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4e2bb25e-a5a9-43a7-986a-40e7aea32e38#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:51.019 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:51.020 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:51.021 [print] "true";"true" 
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:50.293 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
774ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '757a7c50-540d-4105-9135-73f09f700743' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 764ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '757a7c50-540d-4105-9135-73f09f700743' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:51.064 [print] https://service.pdok.nl/bzk/bro-grondwaterspiegeldiepte/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:51.065 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:51.065 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:51.066 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:51.066 [print] Beheer PDOK 
* print operateson 000ms
05:23:51.066 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b756dabe-a331-42cd-b45e-f61828ee4534#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:51.068 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:51.068 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:51.069 [print] "true";"true" 
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:50.688 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
750ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 738ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:51.435 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:51.435 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:51.436 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:51.436 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:51.437 [print] Beheer PDOK 
* print operateson 000ms
05:23:51.437 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=07d78f5e-f4c4-4c92-b866-94eb2cb38516#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=cc931834-5f9a-4106-a3a3-d5bf553b2675#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=917b5ba0-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:51.438 [print] "https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1";"http:\/\/data.europa.eu\/eli\/reg\/2009\/976" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:51.439 [print] "Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:51.439 [print] "true";"true" 
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:50.923 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
807ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:51.727 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:51.727 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:51.728 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:51.728 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:51.729 [print] Beheer PDOK 
* print operateson 000ms
05:23:51.729 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:51.730 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:51.731 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:51.732 [print] "true";"true" 
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:51.026 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
780ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '280cee65-1b66-4973-a569-75122e0b745b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 768ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:51.802 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/wfs/v1_0?SERVICE=WFS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:51.803 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:51.803 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:51.803 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:51.804 [print] Beheer PDOK 
* print operateson 000ms
05:23:51.804 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=07d78f5e-f4c4-4c92-b866-94eb2cb38516#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=cc931834-5f9a-4106-a3a3-d5bf553b2675#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=917b5ba0-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:51.806 [print] "http:\/\/";"";"http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:51.806 [print] "";"Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:51.807 [print] "true";"true";"true" 
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:51.072 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd9cc67ba-5491-4640-86ac-b8d392250270' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd9cc67ba-5491-4640-86ac-b8d392250270' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 004ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:51.864 [print] https://service.pdok.nl/bzk/bro-bodemkaart/wms/v1_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:51.866 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:23:51.868 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:51.868 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:51.869 [print] Beheer PDOK 
* print operateson 000ms
05:23:51.869 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:51.871 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:51.872 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:51.873 [print] "true";"true" 
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:51.442 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '598c4109-21d2-4a6c-b083-9975a6736853' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 770ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:52.220 [print] https:\/\/geodata.nationaalgeoregister.nl\/weggeg\/wms?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:52.221 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:52.222 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:52.222 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:52.223 [print] Beheer PDOK 
* print operateson 000ms
05:23:52.223 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:52.224 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:52.225 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:52.226 [print] "true";"true" 
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:51.734 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3d143d7a-7599-4cda-bcc5-619b6201c47b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d143d7a-7599-4cda-bcc5-619b6201c47b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:52.527 [print] https://service.pdok.nl/provincies/begrenzingen-vergunde-ontgrondingsgebieden-zand-grindwinning/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:52.527 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:52.528 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:52.528 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:52.529 [print] Beheer PDOK 
* print operateson 000ms
05:23:52.529 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58e7dc38-a498-4852-b4ef-908f5baa9056#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:52.530 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:52.531 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:52.532 [print] "true";"true" 
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:51.810 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
749ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 736ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:52.570 [print] https:\/\/service.pdok.nl\/hwh\/luchtfotocir\/wms\/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:52.570 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:52.571 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:52.571 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:52.572 [print] Beheer PDOK 
* print operateson 000ms
05:23:52.572 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4cfb1469-a152-4ba6-8fe9-4b627acd7ee0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:52.574 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:52.575 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:52.576 [print] "true";"true" 
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:51.877 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
762ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5523cfd7-a72c-409e-a0c7-89b858aafa64' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 751ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5523cfd7-a72c-409e-a0c7-89b858aafa64' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:52.637 [print] https://service.pdok.nl/bzk/bro-environmental-monitoring-facilities/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:52.637 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:52.638 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:52.638 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:52.639 [print] Beheer PDOK 
* print operateson 000ms
05:23:52.639 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:52.640 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:52.640 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:52.641 [print] "true";"true" 
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:52.229 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
772ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '26e2e9f4-be88-4c8c-bdef-94edfa93bde9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 762ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '26e2e9f4-be88-4c8c-bdef-94edfa93bde9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:52.999 [print] https://service.pdok.nl/bzk/bro-hydrogeology/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:53.000 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:53.001 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:53.001 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:53.001 [print] Beheer PDOK 
* print operateson 000ms
05:23:53.001 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:53.003 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:53.003 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:53.004 [print] "true";"true" 
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:52.535 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
845ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd1cb16ca-2029-454f-b3f1-f70bceaf62c1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 828ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd1cb16ca-2029-454f-b3f1-f70bceaf62c1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 005ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:53.375 [print] https:\/\/service.pdok.nl\/bzk\/bro-geomorfologischekaart\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:53.376 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:53.377 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:53.377 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:53.377 [print] Beheer PDOK 
* print operateson 000ms
05:23:53.378 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=459231d0-7379-4f26-a444-7616e1d888f0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:53.379 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:53.380 [print] #notpresent 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:53.381 [print] #notpresent 
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:52.579 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 783ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:53.371 [print] https://geodata.nationaalgeoregister.nl/natura2000/wms?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:53.371 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:53.372 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:53.373 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:53.374 [print] Beheer PDOK 
* print operateson 000ms
05:23:53.374 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:53.376 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:53.378 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:53.380 [print] "true";"true" 
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:52.644 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
837ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 806ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:53.467 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:53.469 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:23:53.470 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:53.471 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:53.473 [print] Beheer PDOK 
* print operateson 000ms
05:23:53.473 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:53.477 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:53.479 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:53.482 [print] "true";"true" 
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:53.007 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
817ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 794ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:53.813 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsoorten\/v2\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:53.815 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:53.816 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:53.817 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:53.818 [print] Beheer PDOK 
* print operateson 000ms
05:23:53.819 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:53.821 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:53.823 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:53.825 [print] "true";"true" 
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:53.383 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
824ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 796ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 015ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:54.202 [print] https://geodata.nationaalgeoregister.nl/nl/rws/hy-n/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:54.203 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:54.203 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:54.204 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:54.204 [print] Beheer PDOK 
* print operateson 000ms
05:23:54.204 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:54.206 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
05:23:54.208 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:54.209 [print] "true";"true" 
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:53.384 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
786ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4' 001ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:54.166 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnwateractueel\/wms\/v1_0?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:54.167 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:54.167 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:54.167 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:54.168 [print] Beheer PDOK 
* print operateson 000ms
05:23:54.168 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:54.170 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:54.171 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:54.171 [print] "true";"true" 
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:53.485 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:54.272 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:54.273 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:54.274 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:54.274 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:54.275 [print] Beheer PDOK 
* print operateson 000ms
05:23:54.275 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:54.276 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:54.277 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:54.278 [print] "true";"true" 
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:53.828 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
773ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 761ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:54.597 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:54.598 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:54.599 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:54.599 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:54.600 [print] Beheer PDOK 
* print operateson 000ms
05:23:54.600 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:54.601 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:54.602 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:54.603 [print] "true";"true" 
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:54.174 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
811ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '01d4dab6-03ad-4e82-b719-4daf8b96ea14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 800ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01d4dab6-03ad-4e82-b719-4daf8b96ea14' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:54.981 [print] https://service.pdok.nl/kadaster/au/wms/v2_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:54.982 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:54.982 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:54.983 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:54.983 [print] Beheer PDOK 
* print operateson 000ms
05:23:54.983 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:54.985 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:54.985 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:54.986 [print] "true";"true" 
* eval db.writeln('"01d4dab6-03ad-4e82-b719-4daf8b96ea14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"01d4dab6-03ad-4e82-b719-4daf8b96ea14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"01d4dab6-03ad-4e82-b719-4daf8b96ea14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:54.212 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
815ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 805ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:55.025 [print] https://service.pdok.nl/kadaster/lc/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:55.026 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:55.026 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:55.026 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:55.027 [print] Beheer PDOK 
* print operateson 000ms
05:23:55.027 [print] https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:55.028 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:55.029 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:55.029 [print] "true";"true" 
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:54.281 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
814ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 800ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:55.089 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:55.090 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:55.091 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:55.092 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:55.092 [print] Beheer PDOK 
* print operateson 000ms
05:23:55.092 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:55.094 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:55.095 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:55.096 [print] "true";"true" 
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:54.606 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 004ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
774ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 761ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:55.380 [print] https://geodata.nationaalgeoregister.nl/inspire/su-vector/wfs?&request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:55.381 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:55.381 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:55.382 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:55.382 [print] Beheer PDOK 
* print operateson 000ms
05:23:55.383 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:55.384 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:55.385 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:55.386 [print] "true";"true" 
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:54.989 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 789ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:55.785 [print] https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:55.786 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:55.786 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:55.786 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:55.787 [print] Beheer PDOK 
* print operateson 000ms
05:23:55.787 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:55.788 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:55.789 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:55.790 [print] "true";"true" 
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:55.032 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
813ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 800ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:55.839 [print] https://geodata.nationaalgeoregister.nl/inspire/su-vector/wms?&request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:55.840 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:55.841 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:55.842 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:55.843 [print] Beheer PDOK 
* print operateson 000ms
05:23:55.843 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:55.844 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:55.845 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:55.846 [print] "true";"true" 
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:55.100 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
765ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 754ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:55.861 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:55.862 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:55.863 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:55.863 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:55.863 [print] Beheer PDOK 
* print operateson 000ms
05:23:55.863 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:55.865 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:55.865 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:55.866 [print] "true";"true" 
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:55.389 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
838ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:56.209 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebieden\/v2\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:23:56.212 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:23:56.214 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:56.214 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:23:56.217 [print] Beheer PDOK 
* print operateson 000ms
05:23:56.217 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:56.223 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:56.225 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:56.228 [print] "true";"true" 
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:55.793 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
817ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:56.596 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebiedtypen\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:56.598 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:23:56.599 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:56.600 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:56.602 [print] Beheer PDOK 
* print operateson 000ms
05:23:56.602 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:56.607 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:56.609 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:56.611 [print] "true";"true" 
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:55.848 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
836ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 792ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 003ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:56.664 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsoorten\/v2\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:23:56.667 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
05:23:56.669 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:56.670 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:23:56.673 [print] Beheer PDOK 
* print operateson 000ms
05:23:56.673 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 003ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:56.679 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:56.683 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 003ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:56.686 [print] "true";"true" 
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:55.869 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
842ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 814ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:56.699 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebiedtypen\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:56.700 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
05:23:56.702 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:56.703 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:56.705 [print] Beheer PDOK 
* print operateson 000ms
05:23:56.705 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:56.708 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:56.710 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:56.712 [print] "true";"true" 
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:56.231 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
791ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 777ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:57.017 [print] https://service.pdok.nl/kadaster/lu/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:57.018 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:57.019 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:57.019 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:57.020 [print] Beheer PDOK 
* print operateson 000ms
05:23:57.021 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a88#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:57.022 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:57.023 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:57.024 [print] "true";"true" 
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:56.614 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
826ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 793ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:57.427 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebieden\/v2\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:57.429 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:23:57.430 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:57.430 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:23:57.433 [print] Beheer PDOK 
* print operateson 000ms
05:23:57.433 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:57.437 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:57.440 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:57.442 [print] "true";"true" 
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:56.689 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
824ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'af4841b5-ce83-4edb-af41-429a21140316' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 787ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:57.495 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:57.497 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:23:57.499 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:57.500 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:23:57.503 [print] Beheer PDOK 
* print operateson 000ms
05:23:57.503 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:57.508 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:57.511 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:57.514 [print] "true";"true" 
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:56.715 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
869ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b0119753-5625-4500-9df3-13823ff9868f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 810ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:57.543 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:23:57.545 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:23:57.547 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:57.548 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:57.550 [print] Beheer PDOK 
* print operateson 000ms
05:23:57.550 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:57.555 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 026ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:57.582 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:57.585 [print] "true";"true" 
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:57.031 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 002ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
782ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 769ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:57.812 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-w\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:57.813 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:57.814 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:57.814 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:57.815 [print] Beheer PDOK 
* print operateson 000ms
05:23:57.815 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:57.816 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:57.817 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:57.818 [print] "true";"true" 
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:57.445 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:58.228 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-w\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:58.229 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:58.230 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:58.230 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:58.231 [print] Beheer PDOK 
* print operateson 000ms
05:23:58.231 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:58.233 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:58.234 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:58.235 [print] "true";"true" 
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:57.519 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
803ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 789ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:58.317 [print] https://geodata.nationaalgeoregister.nl/windkaart/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:58.318 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:58.318 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:58.319 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:58.319 [print] Beheer PDOK 
* print operateson 000ms
05:23:58.320 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:58.321 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:58.322 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:58.323 [print] "true";"true" 
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:57.589 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
757ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 735ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 005ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
05:23:58.338 [print] https://geodata.nationaalgeoregister.nl/windkaart/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:58.340 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:58.341 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 001ms
* print protocol 000ms
05:23:58.342 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:23:58.344 [print] Beheer PDOK 
* print operateson 000ms
05:23:58.344 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:58.346 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:58.347 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:58.348 [print] "true";"true" 
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:57.821 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 789ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:58.617 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-ro\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:58.618 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:58.618 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:58.618 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:58.619 [print] Beheer PDOK 
* print operateson 000ms
05:23:58.619 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:58.621 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:58.621 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:58.622 [print] "true";"true" 
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:58.238 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
801ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 781ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:59.027 [print] https:\/\/geodata.nationaalgeoregister.nl\/nhi\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:59.028 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:59.028 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:59.029 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 003ms
05:23:59.033 [print] Beheer PDOK 
* print operateson 000ms
05:23:59.033 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:59.037 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:59.039 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:59.040 [print] "true";"true" 
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:58.334 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 772ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:59.116 [print] https://geodata.nationaalgeoregister.nl/vin/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:59.116 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:59.117 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:59.117 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:59.118 [print] Beheer PDOK 
* print operateson 000ms
05:23:59.118 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:59.119 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:59.120 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:59.121 [print] "true";"true" 
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
007ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:58.357 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 006ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 771ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:59.142 [print] https://geodata.nationaalgeoregister.nl/vin/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:59.143 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:59.144 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:59.144 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:59.145 [print] Beheer PDOK 
* print operateson 000ms
05:23:59.145 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:59.146 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:59.147 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:59.148 [print] "true";"true" 
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:58.626 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a57c1e86-becb-4e3f-b0ad-6d02cea5583d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 783ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a57c1e86-becb-4e3f-b0ad-6d02cea5583d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:59.417 [print] https://service.pdok.nl/provincies/zwemwaterkwaliteit-provinciaal-rijkswateren/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:59.418 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:59.419 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:59.419 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:59.420 [print] Beheer PDOK 
* print operateson 000ms
05:23:59.420 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df5ee213-e1bd-433b-80f7-4ea20f493ca8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:59.422 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:59.422 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:59.423 [print] "true";"true" 
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:59.043 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
836ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '823c5f01-5d11-481b-aa5f-e191d129365f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 824ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '823c5f01-5d11-481b-aa5f-e191d129365f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:59.875 [print] https://service.pdok.nl/kadaster/gn/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:59.876 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:59.876 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:59.876 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:59.877 [print] Beheer PDOK 
* print operateson 000ms
05:23:59.877 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:59.879 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:59.879 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:59.880 [print] "true";"true" 
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:59.123 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
794ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dae8f9e3-99af-4d21-9feb-29f2a1693077' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 783ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dae8f9e3-99af-4d21-9feb-29f2a1693077' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:59.913 [print] https://service.pdok.nl/kadaster/tn/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:59.914 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:59.914 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:59.914 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:59.915 [print] Beheer PDOK 
* print operateson 000ms
05:23:59.915 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:59.917 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:59.917 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:59.918 [print] "true";"true" 
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:59.150 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
821ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '589a9223-7588-4cd7-93aa-5373a12d8cea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 802ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '589a9223-7588-4cd7-93aa-5373a12d8cea' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:23:59.960 [print] https://service.pdok.nl/kadaster/hy/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:23:59.962 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:23:59.963 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:23:59.963 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:23:59.964 [print] Beheer PDOK 
* print operateson 002ms
05:23:59.966 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:23:59.968 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:23:59.969 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:23:59.971 [print] "true";"true" 
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:59.426 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
822ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:00.238 [print] https:\/\/geodata.nationaalgeoregister.nl\/plu\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:24:00.239 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:24:00.240 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:00.241 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:24:00.242 [print] Beheer PDOK 
* print operateson 000ms
05:24:00.242 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:00.246 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:00.248 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:00.249 [print] "true";"true" 
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:59.883 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '598c4109-21d2-4a6c-b083-9975a6736849' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 792ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:00.683 [print] https:\/\/geodata.nationaalgeoregister.nl\/nwbvaarwegen\/wms?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:00.684 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:00.684 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:00.685 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:00.685 [print] Beheer PDOK 
* print operateson 000ms
05:24:00.685 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:00.687 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:00.687 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:00.688 [print] "true";"true" 
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:59.921 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:00.713 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-natura2000/wms?request=Getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:00.714 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:00.714 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:00.714 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:00.715 [print] Beheer PDOK 
* print operateson 000ms
05:24:00.715 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:00.717 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:00.717 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:00.718 [print] "true";"true" 
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:23:59.976 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '94e5b115-bece-4140-99ed-93b8f363948e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 787ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:00.772 [print] https:\/\/geodata.nationaalgeoregister.nl\/ahn3\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:00.773 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:00.773 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:00.774 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:00.774 [print] Beheer PDOK 
* print operateson 000ms
05:24:00.774 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:00.776 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:00.777 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:00.777 [print] "true";"true" 
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:00.252 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1601e160-91e8-4091-9aca-10294f819d42' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:01.038 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-natura2000/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:01.038 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:01.039 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:01.039 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:01.040 [print] Beheer PDOK 
* print operateson 000ms
05:24:01.040 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:01.042 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:01.043 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:01.044 [print] "true";"true" 
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:00.691 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:01.476 [print] https://service.pdok.nl/rvo/invasieve-exoten/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 011ms
* print protocol1 000ms
05:24:01.488 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:01.488 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:01.489 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:01.489 [print] Beheer PDOK 
* print operateson 000ms
05:24:01.489 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:01.492 [print] "http:\/\/";"";"http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:01.493 [print] "";"Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 002ms
05:24:01.496 [print] "true";"true";"true" 
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:00.721 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
789ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 770ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:01.499 [print] https://service.pdok.nl/rvo/invasieve-exoten/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:01.500 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:01.501 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:01.501 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:01.502 [print] Beheer PDOK 
* print operateson 000ms
05:24:01.503 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 003ms
05:24:01.508 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:01.509 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:01.510 [print] "true";"true" 
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:00.780 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
787ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2e5571fb-c840-4d84-8224-62ee7293b2b3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2e5571fb-c840-4d84-8224-62ee7293b2b3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:01.561 [print] https://service.pdok.nl/provincies/grondwaterbeschermingsgebieden/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:01.562 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:01.563 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:01.563 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:01.564 [print] Beheer PDOK 
* print operateson 000ms
05:24:01.564 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=666554ed-5106-487d-b4bf-69fbd888a6d7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:01.566 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:01.567 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:01.568 [print] "true";"true" 
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:01.046 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
797ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 784ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:01.840 [print] https:\/\/geodata.nationaalgeoregister.nl\/nwbwegen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:01.840 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:01.841 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:01.841 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:01.842 [print] Beheer PDOK 
* print operateson 000ms
05:24:01.842 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:01.844 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:01.845 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:01.845 [print] "true";"true" 
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:01.502 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 003ms
Tags: @step1
830ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 818ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:02.333 [print] https://geodata.nationaalgeoregister.nl/inspire/bu/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:02.334 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:02.334 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:02.334 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:02.335 [print] Beheer PDOK 
* print operateson 000ms
05:24:02.335 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:02.337 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:02.337 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:02.338 [print] "true";"true" 
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:01.513 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
769ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 757ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:02.278 [print] https://geodata.nationaalgeoregister.nl/overheidsdiensten/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:02.279 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:02.279 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:02.280 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:02.280 [print] Beheer PDOK 
* print operateson 000ms
05:24:02.280 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:02.282 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:02.283 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:02.283 [print] "true";"true" 
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:01.572 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
789ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:02.357 [print] https:\/\/geodata.nationaalgeoregister.nl\/reststromen\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:02.357 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:02.358 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:02.358 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:02.359 [print] Beheer PDOK 
* print operateson 000ms
05:24:02.360 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:02.361 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:02.362 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:02.363 [print] "true";"true" 
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:01.848 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 786ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:02.644 [print] https:\/\/geodata.nationaalgeoregister.nl\/reststromen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:02.645 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:02.646 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:02.646 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:02.647 [print] Beheer PDOK 
* print operateson 000ms
05:24:02.647 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:02.648 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:02.649 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:02.650 [print] "true";"true" 
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:02.286 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:03.072 [print] https:\/\/geodata.nationaalgeoregister.nl\/noordzeevaarwegmarkeringenrd\/wms?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:03.073 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:03.073 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:03.073 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:03.074 [print] Beheer PDOK 
* print operateson 000ms
05:24:03.074 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:03.075 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:03.076 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:03.077 [print] "true";"true" 
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:02.341 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
886ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 847ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 016ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:03.212 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:24:03.214 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:03.215 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:03.216 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:03.217 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:03.217 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 008ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:03.226 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:03.227 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:03.229 [print] "false";"false" 
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:02.367 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
845ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 816ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 013ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:03.205 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/verkeersscheidingsstelsel\/wms\/v2_0?service=WMS&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:03.206 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:03.207 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
05:24:03.208 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:03.209 [print] Beheer PDOK 
* print operateson 000ms
05:24:03.209 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:03.211 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:03.213 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:03.214 [print] "true";"true" 
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:02.653 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
805ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 791ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:03.452 [print] https:\/\/service.pdok.nl\/kadaster\/rdinfo\/wms\/v1_0?request=getcapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:03.453 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:03.453 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:03.454 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:03.454 [print] Beheer PDOK 
* print operateson 000ms
05:24:03.454 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:03.457 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:03.458 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:03.459 [print] "true";"true" 
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:03.080 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
780ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:03.855 [print] https:\/\/service.pdok.nl\/hwh\/wsdiensteninspire\/wms\/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:03.856 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:03.857 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:03.857 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:03.858 [print] Beheer PDOK 
* print operateson 000ms
05:24:03.858 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:03.860 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:03.861 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:03.861 [print] "true";"true" 
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:03.218 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 774ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:04.000 [print] https://service.pdok.nl/cbs/pd/wfs/v1_0?service=WFS&request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:04.001 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:04.002 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:04.002 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:04.003 [print] Beheer PDOK 
* print operateson 000ms
05:24:04.004 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:04.005 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs ." 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:04.006 [print] "Deze service voldoet aan specificaties voor spatial data services";"De service voldoet aan de requirements van de interoperable conformance class.";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:04.007 [print] "true";"true";"true" 
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:03.234 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
813ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 802ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:04.045 [print] https:\/\/service.pdok.nl\/cbs\/pd\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:04.045 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:04.046 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:04.046 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:04.047 [print] Beheer PDOK 
* print operateson 000ms
05:24:04.047 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:04.048 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:04.049 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:04.049 [print] "true";"true" 
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:03.462 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
779ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f57bdee7-4027-4aa2-8312-4051b854be3c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 768ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f57bdee7-4027-4aa2-8312-4051b854be3c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:04.238 [print] https://service.pdok.nl/rvo/schelpdierpercelen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:04.238 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:04.239 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:04.239 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:04.240 [print] Beheer PDOK 
* print operateson 000ms
05:24:04.240 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:04.241 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:04.242 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:04.243 [print] "true";"true" 
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:03.864 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '972edbaa-f860-4c48-b449-4f238a263472' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 781ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
05:24:04.656 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:04.657 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:04.658 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:04.658 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:04.659 [print] Beheer PDOK 
* print operateson 000ms
05:24:04.660 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:04.661 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:04.663 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:04.664 [print] "true";"true" 
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:04.010 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
780ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:04.785 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:04.785 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:04.786 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:04.786 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:04.788 [print] Beheer PDOK 
* print operateson 000ms
05:24:04.788 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:04.790 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:04.791 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:04.792 [print] "true";"true" 
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:04.052 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 771ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:04.830 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/wms/v1_0?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:04.831 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 012ms
* print protocol2 000ms
05:24:04.844 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:04.845 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:04.846 [print] Beheer PDOK 
* print operateson 000ms
05:24:04.846 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:04.848 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:04.849 [print] "Waterschappen Administratieve eenheden INSPIRE";"Technische specificatie waarmee de service volledig conform is";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Deze service voldoet aan de specificaties voor spatial data services";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:04.850 [print] "true";"true";"true" 
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:04.245 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
782ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 769ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:05.022 [print] https:\/\/service.pdok.nl\/kadaster\/rdinfo\/wfs\/v1_0?request=getcapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:05.023 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:05.024 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:05.024 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:05.025 [print] Beheer PDOK 
* print operateson 000ms
05:24:05.025 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:05.027 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:05.028 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:05.029 [print] "true";"true" 
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:04.667 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
778ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 766ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:05.442 [print] https:\/\/service.pdok.nl\/hwh\/hydrografie\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:05.443 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:05.444 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:05.444 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:05.444 [print] Beheer PDOK 
* print operateson 000ms
05:24:05.445 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:05.446 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:05.447 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:05.447 [print] "true";"true" 
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:04.795 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4041f923-6b77-4816-bf46-437e85416c31' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 783ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:05.587 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnmarienestrategie2018/wms/v1_0?SERVICE=WMS&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:05.588 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:05.588 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:05.588 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:05.589 [print] Beheer PDOK 
* print operateson 000ms
05:24:05.589 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a33c92d0-e29b-43cb-b681-f942ef597331#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=353108a0-f0f8-4f8e-9d0e-60f18dfda169#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:05.591 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:05.592 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:05.592 [print] "true";"true" 
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:04.853 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 787ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:05.648 [print] https://geodata.nationaalgeoregister.nl/digitaaltopografischbestand/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:05.649 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:05.649 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:05.649 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:05.650 [print] Beheer PDOK 
* print operateson 000ms
05:24:05.650 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4b137b8-2317-42c2-aced-204c4216d68d&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4bed072-0fda-47b8-96fa-457a938b88fc&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3229e4d7-4bcd-4b94-819d-8e62de69ce2e&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:05.651 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:05.652 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:05.653 [print] "true";"true" 
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:05.031 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
757ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 743ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 000ms
05:24:05.785 [print] https://geodata.nationaalgeoregister.nl/digitaaltopografischbestand/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:05.786 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:05.786 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:05.786 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:05.787 [print] Beheer PDOK 
* print operateson 000ms
05:24:05.787 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4b137b8-2317-42c2-aced-204c4216d68d&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4bed072-0fda-47b8-96fa-457a938b88fc&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3229e4d7-4bcd-4b94-819d-8e62de69ce2e&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:05.789 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:05.790 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:05.790 [print] "true";"true" 
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:05.450 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:06.238 [print] https://geodata.nationaalgeoregister.nl/schelpdierwater/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:06.238 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:06.239 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:06.239 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:06.240 [print] Beheer PDOK 
* print operateson 000ms
05:24:06.240 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:06.242 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:06.243 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:06.243 [print] "true";"true" 
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:05.595 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 071ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '76854ff3-a853-4405-b9fd-acef66460376' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 847ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376' 006ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 008ms
* def title = get response //citation/CI_Citation/title/CharacterString 007ms
* def email = get response //electronicMailAddress/CharacterString 007ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 007ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 039ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 005ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 012ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 012ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:06.554 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsgebiedsoorten\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 004ms
* print protocol1 009ms
05:24:06.568 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 005ms
* print protocol2 005ms
05:24:06.578 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:06.579 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 007ms
* print organisationpath 010ms
05:24:06.596 [print] Beheer PDOK 
* print operateson 000ms
05:24:06.596 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 007ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 015ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:06.620 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 026ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 013ms
05:24:06.660 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 007ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:06.668 [print] "true";"true" 
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:05.657 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 116ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 852ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5' 017ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 007ms
* def title = get response //citation/CI_Citation/title/CharacterString 011ms
* def email = get response //electronicMailAddress/CharacterString 018ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 012ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 014ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 016ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 004ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 008ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 004ms
05:24:06.628 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsoorten\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 005ms
* print protocol1 022ms
05:24:06.656 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 013ms
* print protocol2 000ms
05:24:06.670 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 006ms
* print protocol 000ms
05:24:06.677 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 018ms
* print organisationpath 000ms
05:24:06.695 [print] Beheer PDOK 
* print operateson 000ms
05:24:06.696 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 028ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 012ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 004ms
05:24:06.742 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 013ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 003ms
05:24:06.760 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 015ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:06.775 [print] "true";"true" 
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:05.793 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8e7686c3-f75e-411f-866e-6985267b916b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 847ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b' 007ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 029ms
* def title = get response //citation/CI_Citation/title/CharacterString 005ms
* def email = get response //electronicMailAddress/CharacterString 008ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 008ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 006ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 005ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 003ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 002ms
05:24:06.726 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsgebiedsoorten\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 005ms
* print protocol1 005ms
05:24:06.737 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 005ms
* print protocol2 005ms
05:24:06.748 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:06.748 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 006ms
* print organisationpath 002ms
05:24:06.756 [print] Beheer PDOK 
* print operateson 000ms
05:24:06.756 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 010ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 011ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:06.780 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 008ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:06.789 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 006ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:06.796 [print] "true";"true" 
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:06.246 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
771ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4805aac3-9a8d-4fcd-851b-88c7b3d342e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 760ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4805aac3-9a8d-4fcd-851b-88c7b3d342e2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:07.014 [print] https://service.pdok.nl/kadaster/sr/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:07.014 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:07.015 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:07.015 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:07.016 [print] Beheer PDOK 
* print operateson 000ms
05:24:07.016 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:07.017 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:07.018 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:07.018 [print] "true";"true" 
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:06.671 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
784ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3bfab77c-1663-4334-b7cb-b972de6096b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 774ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3bfab77c-1663-4334-b7cb-b972de6096b1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:07.452 [print] https://service.pdok.nl/provincies/geluidzones-rondom-vliegvelden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:07.453 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:07.454 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:07.454 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:07.454 [print] Beheer PDOK 
* print operateson 000ms
05:24:07.454 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41023936-009d-48ec-a90d-c966895463c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:07.455 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:07.456 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:07.457 [print] "true";"true" 
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
007ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:06.779 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 006ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
794ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e6c18185-719e-4729-8131-798dd9a69e8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 784ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e6c18185-719e-4729-8131-798dd9a69e8d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:07.576 [print] https://service.pdok.nl/provincies/zwemwater-provinciaal-rijkswateren/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:07.577 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:07.578 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:07.578 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:07.578 [print] Beheer PDOK 
* print operateson 000ms
05:24:07.578 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:07.580 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:07.580 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:07.581 [print] "true";"true" 
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:06.798 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
833ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 015ms
When method get 801ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:07.624 [print] https://service.pdok.nl/ienw/geluidskaartschipholnacht/wms/v1_0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:07.625 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:07.626 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:07.626 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:07.627 [print] Beheer PDOK 
* print operateson 000ms
05:24:07.627 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 003ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:07.631 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:07.632 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:07.633 [print] "true";"true" 
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:07.021 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
787ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 774ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:07.803 [print] https://service.pdok.nl/cbs/hh/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:07.803 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:07.804 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:07.805 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:07.805 [print] Beheer PDOK 
* print operateson 000ms
05:24:07.806 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:07.807 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"urn:ogc:def:uom:OGC::percent";"http:\/\/www.opengis.net\/def\/uom\/SI\/second" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:07.809 [print] "Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de interoperable conformance class.";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Ondergrens van het percentage in tijd; dat de dienst naar verwachting jaarlijks beschikbaar";"De maximale responstijd binnen welke een typisch verzoek naar de Ruimtelijke Gegevensdienst in een normale situatie kan worden uitgevoerd; door tenminste het eerste deel van de reactie terug te keren. De normale situatie vertegenwoordigt perioden buiten de piekbelasting. Het is ingesteld op 90% van de tijd." 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:07.810 [print] "true";"true";"true" 
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:07.459 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:08.254 [print] https://service.pdok.nl/cbs/hh/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:08.255 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:08.256 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:08.256 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:08.256 [print] Beheer PDOK 
* print operateson 000ms
05:24:08.256 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:08.258 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:08.258 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:08.259 [print] "true";"true" 
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:07.583 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
819ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b145a28d-70fd-4a8e-9750-3865bbcc5bea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b145a28d-70fd-4a8e-9750-3865bbcc5bea' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 009ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:08.398 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:08.399 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:08.400 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:08.400 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:08.401 [print] KNMI 
* print operateson 000ms
05:24:08.401 [print] https://haleconnect.com/services/bsp/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:08.402 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:08.403 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:08.404 [print] true 
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:07.636 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
787ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5117ebc1-5a63-439b-b3ca-43b80be804fb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 776ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5117ebc1-5a63-439b-b3ca-43b80be804fb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:08.419 [print] https://service.pdok.nl/kadaster/ad/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:08.420 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:08.421 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:08.421 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:08.421 [print] Beheer PDOK 
* print operateson 000ms
05:24:08.421 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:08.423 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:08.423 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:08.424 [print] "true";"true" 
* eval db.writeln('"5117ebc1-5a63-439b-b3ca-43b80be804fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5117ebc1-5a63-439b-b3ca-43b80be804fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5117ebc1-5a63-439b-b3ca-43b80be804fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:07.815 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
785ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:08.596 [print] https://service.pdok.nl/rvo/mosselzaadinvanginstallaties/wfs/v1_0?service=wfs&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:08.597 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:08.598 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:08.598 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:08.598 [print] Beheer PDOK 
* print operateson 000ms
05:24:08.598 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:08.600 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:08.601 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:08.601 [print] "true";"true" 
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:08.262 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:09.059 [print] https://service.pdok.nl/rvo/mosselzaadinvanginstallaties/wms/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:09.059 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:09.060 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:09.060 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:09.061 [print] Beheer PDOK 
* print operateson 000ms
05:24:09.061 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:09.062 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:09.063 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:09.064 [print] "true";"true" 
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:08.406 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
846ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b9fa42a0-41f9-4405-a593-d51721939222' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 832ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b9fa42a0-41f9-4405-a593-d51721939222' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:09.247 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/wfs/v1_0?request=getCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:09.247 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:09.248 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:09.249 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:09.250 [print] Beheer PDOK 
* print operateson 000ms
05:24:09.250 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:09.251 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:09.252 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:09.253 [print] "true";"true";"true" 
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:08.426 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
867ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 853ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:09.287 [print] https://service.pdok.nl/ienw/geluidskaartspoorwegennacht/wms/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:09.288 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:09.289 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:09.290 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:09.291 [print] Beheer PDOK 
* print operateson 000ms
05:24:09.291 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:09.293 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:09.294 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:09.295 [print] "true";"true" 
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:08.604 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 001ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6' 000ms
And param elementsetname = 'full' 001ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:09.382 [print] https://service.pdok.nl/ienw/geluidskaartspoorwegenetmaal/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:09.383 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:09.384 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 007ms
05:24:09.392 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:09.393 [print] Beheer PDOK 
* print operateson 000ms
05:24:09.393 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
05:24:09.396 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:09.397 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:09.398 [print] "true";"true" 
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:09.066 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
771ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 759ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:09.833 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholetmaal/v2/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:09.834 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:09.835 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:09.835 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:09.835 [print] Beheer PDOK 
* print operateson 000ms
05:24:09.835 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:09.837 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:09.838 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:09.838 [print] "true";"true" 
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:09.256 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
833ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 820ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:10.085 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholetmaal/v2/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:10.085 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:10.086 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:10.086 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:10.087 [print] Beheer PDOK 
* print operateson 000ms
05:24:10.087 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:10.089 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:10.090 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:10.091 [print] "true";"true" 
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:09.298 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
863ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 852ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:10.158 [print] https://service.pdok.nl/ienw/geluidskaartspoorwegenetmaal/wfs/v1_0?&request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:10.159 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:10.159 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:10.159 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:10.160 [print] Beheer PDOK 
* print operateson 000ms
05:24:10.160 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:10.161 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:10.162 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:10.163 [print] "true";"true" 
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:09.401 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
839ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 827ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:10.237 [print] https://service.pdok.nl/ienw/geluidskaartschipholnacht/wfs/v1_0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:10.237 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:10.238 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:10.238 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:10.239 [print] Beheer PDOK 
* print operateson 000ms
05:24:10.239 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:10.240 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:10.241 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:10.242 [print] "true";"true" 
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:09.841 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
782ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 771ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:10.620 [print] https:\/\/service.pdok.nl\/cbs\/bestandbodemgebruik\/2015\/wms\/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:10.620 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:10.621 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:10.621 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:10.622 [print] Beheer PDOK 
* print operateson 000ms
05:24:10.622 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:10.623 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:10.624 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:10.625 [print] "true";"true" 
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:10.093 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
823ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '448cc407-e405-4f07-8260-7489ec3b4f14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 810ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '448cc407-e405-4f07-8260-7489ec3b4f14' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:10.912 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/wms/v1_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:10.913 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:10.913 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:10.914 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:10.915 [print] Beheer PDOK 
* print operateson 000ms
05:24:10.915 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:10.916 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:10.917 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:10.918 [print] "true";"true" 
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:10.165 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
828ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 805ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 009ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:10.987 [print] https:\/\/service.pdok.nl\/cbs\/bestandbodemgebruik\/2015\/wfs\/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:10.988 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:10.989 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:10.989 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:10.990 [print] Beheer PDOK 
* print operateson 000ms
05:24:10.990 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:10.992 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:10.993 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:10.994 [print] "true";"true" 
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:10.244 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
932ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 868ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761' 003ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 004ms
* def title = get response //citation/CI_Citation/title/CharacterString 004ms
* def email = get response //electronicMailAddress/CharacterString 004ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 004ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 004ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 002ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:11.149 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsoorten\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:24:11.152 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
05:24:11.155 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:11.155 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 004ms
* print organisationpath 000ms
05:24:11.160 [print] Beheer PDOK 
* print operateson 000ms
05:24:11.160 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:11.169 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 004ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:11.173 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:11.178 [print] "true";"true" 
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:10.627 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 757ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:11.392 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-cdda/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:11.392 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:11.393 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:11.393 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:11.394 [print] Beheer PDOK 
* print operateson 000ms
05:24:11.394 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:11.395 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:11.396 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:11.397 [print] "true";"true" 
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:10.921 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
817ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 804ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:11.733 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-cdda/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:11.733 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:11.734 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:11.734 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:11.735 [print] Beheer PDOK 
* print operateson 000ms
05:24:11.735 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:11.737 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:11.738 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:11.739 [print] "true";"true" 
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:10.997 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '33f3b24a-0b34-4153-9930-726d575a04d1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 766ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '33f3b24a-0b34-4153-9930-726d575a04d1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 010ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 004ms
05:24:11.784 [print] https://service.pdok.nl/provincies/aardkundige-waarden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:11.785 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:11.785 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 002ms
05:24:11.788 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:11.788 [print] Beheer PDOK 
* print operateson 000ms
05:24:11.789 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:11.790 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:11.790 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:11.791 [print] "true";"true" 
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:11.180 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82a98057-861b-4c69-9b8e-fe1a7d7bdd29' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82a98057-861b-4c69-9b8e-fe1a7d7bdd29' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:11.954 [print] https://service.pdok.nl/provincies/provinciaal-landschapsbeleid/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:11.954 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:11.955 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:11.955 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:11.956 [print] Beheer PDOK 
* print operateson 000ms
05:24:11.956 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:11.957 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:11.958 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:11.958 [print] "true";"true" 
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:11.399 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
771ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 760ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:12.167 [print] https://service.pdok.nl/kadaster/cp/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:12.167 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:12.168 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:12.168 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:12.168 [print] Beheer PDOK 
* print operateson 000ms
05:24:12.168 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:12.170 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:12.170 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:12.171 [print] "true";"true" 
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:11.741 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
780ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:12.515 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-np/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:12.517 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:12.517 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:12.518 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:12.518 [print] Beheer PDOK 
* print operateson 000ms
05:24:12.519 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:12.520 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:12.521 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:12.522 [print] "true";"true" 
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:11.794 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
786ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:12.576 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-np/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:12.577 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:12.577 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:12.577 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:12.578 [print] Beheer PDOK 
* print operateson 000ms
05:24:12.578 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:12.579 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:12.580 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:12.581 [print] "true";"true" 
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:11.961 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
780ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 764ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:12.731 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:12.732 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 004ms
* print protocol2 000ms
05:24:12.737 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:12.737 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:12.738 [print] Beheer PDOK 
* print operateson 000ms
05:24:12.739 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=rorh-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:12.740 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:12.741 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:12.742 [print] "true";"true" 
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:12.174 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:12.959 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:12.959 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:12.960 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:12.960 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:12.960 [print] Beheer PDOK 
* print operateson 000ms
05:24:12.960 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:12.962 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:12.962 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:12.963 [print] "true";"true" 
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:12.525 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
877ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 859ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:13.393 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:24:13.395 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:24:13.396 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:13.397 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 004ms
* print organisationpath 000ms
05:24:13.401 [print] Beheer PDOK 
* print operateson 000ms
05:24:13.401 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:13.402 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:13.403 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:13.403 [print] "true";"true" 
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:12.583 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
811ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'caeb52a3-cbaa-4e9b-a23e-d4dc0335b506' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 801ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'caeb52a3-cbaa-4e9b-a23e-d4dc0335b506' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:13.391 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:13.392 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:13.392 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:13.392 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:13.393 [print] Beheer PDOK 
* print operateson 000ms
05:24:13.393 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:13.394 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:13.395 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:13.396 [print] "true";"true" 
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:12.744 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:13.524 [print] https://service.pdok.nl/cbs/wijkenbuurten/2021/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:13.525 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:13.525 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:13.525 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:13.526 [print] Beheer PDOK 
* print operateson 000ms
05:24:13.526 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:13.527 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:13.528 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:13.528 [print] "true";"true" 
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:12.965 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
777ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:13.739 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:24:13.740 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:13.741 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:13.741 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:13.742 [print] Beheer PDOK 
* print operateson 000ms
05:24:13.742 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:13.743 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:13.743 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:13.744 [print] "true";"true" 
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:13.399 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
797ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7977f282-433e-41f9-940b-63f5d28ee44c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 780ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7977f282-433e-41f9-940b-63f5d28ee44c' 003ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:14.189 [print] https://service.pdok.nl/provincies/stiltegebieden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:14.190 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:14.191 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:14.191 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:14.192 [print] Beheer PDOK 
* print operateson 000ms
05:24:14.193 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:14.195 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:14.196 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:14.197 [print] "true";"true" 
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:13.406 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
811ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4ce823b4-94b4-4d24-8512-519179315878' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4ce823b4-94b4-4d24-8512-519179315878' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:14.210 [print] https://service.pdok.nl/provincies/provinciale-monumenten/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:14.211 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:14.212 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:14.213 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:14.214 [print] Beheer PDOK 
* print operateson 000ms
05:24:14.214 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:14.216 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:14.217 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:14.218 [print] "true";"true" 
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:13.531 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '57844c27-ff48-4e0b-9321-174d83829a19' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 784ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '57844c27-ff48-4e0b-9321-174d83829a19' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:14.322 [print] https://service.pdok.nl/provincies/wet-ammoniak-veehouderij-gebieden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:14.322 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:14.323 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:14.324 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:14.325 [print] Beheer PDOK 
* print operateson 000ms
05:24:14.325 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:14.327 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:14.328 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:14.329 [print] "true";"true" 
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:13.746 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
782ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a6341e75-0dff-4948-9317-433324ab483b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 770ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6341e75-0dff-4948-9317-433324ab483b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:14.523 [print] https://service.pdok.nl/provincies/natuurnetwerk-nederland/wms/v1_0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:14.524 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:14.525 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:14.525 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:14.526 [print] Beheer PDOK 
* print operateson 000ms
05:24:14.526 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:14.528 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:14.529 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:14.529 [print] "true";"true" 
* eval db.writeln('"a6341e75-0dff-4948-9317-433324ab483b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a6341e75-0dff-4948-9317-433324ab483b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a6341e75-0dff-4948-9317-433324ab483b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:14.200 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
805ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 789ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:14.996 [print] https:\/\/geodata.nationaalgeoregister.nl\/nhi\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:24:14.999 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:15.000 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:15.001 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:15.002 [print] Beheer PDOK 
* print operateson 000ms
05:24:15.002 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:15.004 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:15.005 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:15.006 [print] "true";"true" 
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:14.221 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
813ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 799ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:15.028 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnwater2015\/wms\/v1_0?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:15.029 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:15.029 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:15.030 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:15.031 [print] Beheer PDOK 
* print operateson 000ms
05:24:15.031 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:15.033 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:15.034 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:15.035 [print] "true";"true" 
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:14.332 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eec0708d-bab6-41c2-aa5b-9c435a1a177e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 782ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eec0708d-bab6-41c2-aa5b-9c435a1a177e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:15.122 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:15.123 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:15.124 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:15.124 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:15.125 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:24:15.125 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:15.127 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:15.128 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:15.129 [print] true 
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:14.532 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
760ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 750ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:15.289 [print] http://services.inspire-provincies.nl/HabitatsAndBiotopes/services/download_HB?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:15.290 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:15.290 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:15.291 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:15.291 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:24:15.291 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:15.293 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:15.293 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:15.294 [print] "false";"true";"true" 
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:15.009 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
771ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a7e4bc31-60c1-4b78-bef1-eed768ceafa0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 760ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7e4bc31-60c1-4b78-bef1-eed768ceafa0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:15.777 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:15.778 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:15.778 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:15.778 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:15.779 [print] KNMI 
* print operateson 000ms
05:24:15.779 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:15.781 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:15.781 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:15.782 [print] true 
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:15.038 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 776ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:15.823 [print] https:\/\/geodata.nationaalgeoregister.nl\/noordzeevaarwegmarkeringenrd\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:15.823 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:15.824 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:15.824 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:15.825 [print] Beheer PDOK 
* print operateson 000ms
05:24:15.825 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:15.827 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:15.827 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:15.828 [print] "true";"true" 
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:15.131 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 787ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:15.926 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:15.927 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:15.927 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:15.928 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:15.928 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:15.929 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:15.930 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:15.931 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:15.932 [print] "true";"true" 
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:15.297 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
781ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '12505d53-a942-467e-a462-ddbe5ac6467f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 758ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '12505d53-a942-467e-a462-ddbe5ac6467f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 008ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:16.070 [print] https://haleconnect.com/ows/services/org.874.28716afd-1e98-4623-9239-8abbd9249408_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:16.071 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:16.072 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:16.073 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:16.073 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:24:16.074 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:16.075 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:16.076 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:16.081 [print] true 
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:15.785 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:16.579 [print] https://inspire.caris.nl/geoserver/tz/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:16.580 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:16.581 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:16.581 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:16.581 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:16.581 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:16.582 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:16.583 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:16.584 [print] "true";"true" 
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:15.832 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
791ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 777ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
05:24:16.617 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:16.618 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:16.618 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:16.618 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:16.619 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:16.619 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:16.621 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
05:24:16.623 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:16.624 [print] "false";"false" 
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:15.936 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
812ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 800ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:16.743 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Territoriale-Zee-Noordzee-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:16.744 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:16.745 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:16.745 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:16.746 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:16.746 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:16.748 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:16.749 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:16.750 [print] "true";"true" 
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:16.083 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
752ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 742ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:16.832 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:16.833 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:16.833 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:16.833 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:16.834 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:16.834 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:16.835 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:16.836 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:16.836 [print] "true";"true" 
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:16.587 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 782ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:17.377 [print] https://inspire.rivm.nl/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:17.378 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:17.379 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:17.379 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:17.380 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:17.381 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:17.383 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:17.384 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:17.385 [print] "false";"true";"true" 
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:16.627 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cb13a608-3d78-4f79-ba60-be63ccd6e268' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 780ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cb13a608-3d78-4f79-ba60-be63ccd6e268' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:17.413 [print] https://service.pdok.nl/cbs/vk100/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:17.414 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:17.414 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:17.414 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:17.415 [print] Beheer PDOK 
* print operateson 000ms
05:24:17.415 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:17.417 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:17.418 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:17.419 [print] "true";"true" 
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:16.752 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
787ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '47470f53-e0aa-45f3-ada3-ddf130dd54af' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 777ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '47470f53-e0aa-45f3-ada3-ddf130dd54af' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:17.537 [print] https://service.pdok.nl/cbs/wb2021/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:17.538 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:17.538 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:17.539 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:17.539 [print] Beheer PDOK 
* print operateson 000ms
05:24:17.540 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:17.541 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:17.542 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:17.543 [print] "true";"true" 
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:16.839 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
809ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2931d583-9633-49d3-ad38-aabea82f6751' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2931d583-9633-49d3-ad38-aabea82f6751' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:17.644 [print] https://service.pdok.nl/bzk/bro-hydrogeology/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:17.644 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:17.645 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:17.645 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:17.646 [print] Beheer PDOK 
* print operateson 000ms
05:24:17.646 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:17.648 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:17.648 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:17.649 [print] "true";"true" 
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:17.388 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
886ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 001ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 866ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:18.262 [print] https://service.pdok.nl/provincies/zwemwater-provinciaal-rijkswateren/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:18.262 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:18.263 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:18.263 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:18.263 [print] Beheer PDOK 
* print operateson 000ms
05:24:18.264 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 007ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:18.271 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:18.272 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:18.273 [print] "true";"true" 
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:17.421 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
881ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 869ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:18.297 [print] https://service.pdok.nl/kadaster/cp/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:18.298 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:18.298 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:18.299 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:18.300 [print] Beheer PDOK 
* print operateson 000ms
05:24:18.300 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:18.302 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:18.303 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:18.304 [print] "true";"true" 
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:17.546 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
823ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '28e6b45e-7627-454d-99a0-4119bbe1678d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 808ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '28e6b45e-7627-454d-99a0-4119bbe1678d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:18.360 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 003ms
* print protocol1 000ms
05:24:18.364 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:18.365 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:18.366 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:18.366 [print] Beheer PDOK 
* print operateson 000ms
05:24:18.367 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:18.368 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:18.369 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:18.370 [print] "true";"true" 
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:17.652 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
784ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:18.434 [print] https://service.pdok.nl/provincies/begrenzingen-vergunde-ontgrondingsgebieden-zand-grindwinning/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:18.434 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:18.435 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:18.435 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:18.435 [print] Beheer PDOK 
* print operateson 000ms
05:24:18.435 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58e7dc38-a498-4852-b4ef-908f5baa9056#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:18.436 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:18.437 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:18.438 [print] "true";"true" 
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:18.278 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
773ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 760ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:19.045 [print] https://service.pdok.nl/rvo/invasieve-exoten/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:19.046 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:19.047 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:19.047 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:19.048 [print] Beheer PDOK 
* print operateson 000ms
05:24:19.048 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:19.050 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:19.051 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:19.052 [print] "true";"true" 
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:18.307 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 783ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:19.097 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwater2015/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:19.098 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:19.099 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:19.099 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:19.100 [print] Beheer PDOK 
* print operateson 000ms
05:24:19.100 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:19.101 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:19.102 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 007ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:19.110 [print] "true";"true";"true" 
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:18.373 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '78155dcb-61fa-4c16-896f-637f5936ce6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '78155dcb-61fa-4c16-896f-637f5936ce6c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:19.152 [print] https://service.pdok.nl/provincies/zwemwaterkwaliteit-provinciaal-rijkswateren/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:19.153 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:19.153 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:19.154 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:19.154 [print] Beheer PDOK 
* print operateson 000ms
05:24:19.154 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df5ee213-e1bd-433b-80f7-4ea20f493ca8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:19.156 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:19.157 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:19.157 [print] "true";"true" 
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:18.440 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
762ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 750ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:19.198 [print] https://www.gdngeoservices.nl/inspire/downloads/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:24:19.199 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:19.200 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:19.200 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:19.200 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:24:19.200 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:19.202 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:19.203 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:19.204 [print] "true";"true" 
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:19.055 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0fa448bb-332b-40b2-adab-13626b29bee6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 780ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0fa448bb-332b-40b2-adab-13626b29bee6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:19.842 [print] https://service.pdok.nl/kadaster/lu/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:19.843 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:19.843 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:19.843 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:19.844 [print] Beheer PDOK 
* print operateson 000ms
05:24:19.844 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a88#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:19.845 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:19.846 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:19.846 [print] "true";"true" 
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:19.112 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c651e06-858e-4184-8de3-da9def9c6fd0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c651e06-858e-4184-8de3-da9def9c6fd0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:19.898 [print] https://service.pdok.nl/bzk/bro-bodemkaart/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:19.899 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:19.900 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:19.900 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:19.901 [print] Beheer PDOK 
* print operateson 000ms
05:24:19.901 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:19.902 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:19.903 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:19.904 [print] "true";"true" 
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:19.160 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
814ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:19.964 [print] http://inspire.rdw.nl/www/download/rdw-inspire.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:19.965 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:19.965 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:19.965 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:19.966 [print] RDW 
* print operateson 000ms
05:24:19.966 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:19.967 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 006ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:19.974 [print] "Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Evaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Gecontroleerd met INSPIRE verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:19.975 [print] "true";"true" 
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:19.206 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0d7ca7bc-99de-4539-af33-70b206f29355' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d7ca7bc-99de-4539-af33-70b206f29355' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:19.992 [print] https://service.pdok.nl/kadaster/adressen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:19.992 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:19.993 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:19.993 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:19.993 [print] Beheer PDOK 
* print operateson 000ms
05:24:19.993 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:19.994 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:19.995 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:19.996 [print] "true";"true" 
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:19.852 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 776ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:20.634 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:20.635 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:20.636 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:20.637 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:20.637 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:20.638 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:20.639 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:20.640 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:20.641 [print] "false";"false" 
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:19.907 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
772ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 761ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:20.676 [print] https://services.rce.geovoorziening.nl/www/download/nl.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:20.676 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:20.677 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:20.677 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:20.678 [print] Rijksdienst voor het Cultureel Erfgoed 
* print operateson 000ms
05:24:20.678 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6f84efeb-fc1d-4565-a721-80735ea57dbd#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=88a3c1ae-902e-4efa-8663-ddd836101929#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:20.679 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:20.680 [print] "Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie";"Open Search mechanisme van het Nationaal Georegister functioneert nog niet naar behoren." 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:20.680 [print] "true";"false" 
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:19.978 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
841ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 824ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 006ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:20.815 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:20.816 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:20.817 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:20.817 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:20.817 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:20.817 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:20.819 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:20.819 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:20.820 [print] "false";"false" 
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:19.998 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a931e334-b752-4935-8a98-00eddc443789' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 757ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:20.762 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:20.763 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:20.763 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:20.763 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:20.764 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:20.764 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:20.765 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:20.766 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:20.767 [print] "false";"false" 
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:20.644 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
807ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 793ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:21.445 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:21.445 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:21.446 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:21.446 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:21.447 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:21.447 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:21.448 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:21.448 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 003ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:21.453 [print] "false";"false" 
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:20.683 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 782ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:21.473 [print] https://service.pdok.nl/hwh/hydrografie/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:21.474 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:21.475 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:21.475 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:21.476 [print] Beheer PDOK 
* print operateson 000ms
05:24:21.476 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:21.478 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:21.479 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:21.480 [print] "true";"true" 
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:20.770 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
780ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '539ec652-482d-4806-a830-0458cf8be477' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 769ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:21.546 [print] http://data.waterkwaliteitsportaal.nl/inspire/vs/EF 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:21.546 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:21.547 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:21.548 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:21.548 [print] Informatiehuis Water 
* print operateson 000ms
05:24:21.548 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:21.550 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:21.550 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Zie de gerefereerde specificatie.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:21.551 [print] "false";"true";"true" 
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:20.823 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ac873153-d885-45e4-b2ab-ad0600d203d3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac873153-d885-45e4-b2ab-ad0600d203d3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:21.618 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:21.618 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:21.619 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:21.619 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:21.620 [print] KNMI 
* print operateson 000ms
05:24:21.620 [print] https://haleconnect.com/services/bsp/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:21.621 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:21.621 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 006ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:21.628 [print] true 
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:21.455 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '70bf4086-b557-4803-96d3-6dc397a5b135' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 795ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '70bf4086-b557-4803-96d3-6dc397a5b135' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:22.257 [print] https://inspire.caris.nl/geoserver/baseline/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:22.257 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:22.258 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:22.258 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:22.258 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:22.259 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:22.260 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:22.260 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:22.261 [print] "true";"true" 
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:21.482 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7d533012-21ad-4a5b-a97e-a76988270273' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 793ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7d533012-21ad-4a5b-a97e-a76988270273' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:22.282 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:22.283 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:22.284 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:22.284 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:22.285 [print] KNMI 
* print operateson 000ms
05:24:22.285 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:22.286 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:22.287 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:22.288 [print] true 
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:21.554 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 757ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:22.317 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:22.318 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:22.319 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:22.319 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:22.320 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:22.320 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:22.321 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:22.321 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:22.323 [print] "true";"true" 
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:21.631 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 754ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:22.392 [print] https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:22.393 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:22.393 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
05:24:22.396 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:22.396 [print] Beheer PDOK 
* print operateson 000ms
05:24:22.396 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:22.398 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:22.399 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:22.400 [print] "true";"true" 
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:22.263 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
806ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 794ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:23.065 [print] https://service.pdok.nl/ienw/geluidskaartspoorwegennacht/wfs/v1_0?service=wfs&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:23.065 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:23.066 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:23.066 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:23.067 [print] Beheer PDOK 
* print operateson 000ms
05:24:23.067 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:23.069 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:23.070 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:23.071 [print] "true";"true" 
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:22.291 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 789ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:23.086 [print] https://www.broinspireservices.nl/wms/ossobor-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:23.087 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:23.087 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:23.087 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:23.088 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:24:23.088 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:23.089 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:23.090 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:23.090 [print] "true";"false" 
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:22.325 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
860ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 850ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:23.182 [print] http:\/\/services.inspire-provincies.nl\/HabitatsAndBiotopes\/services\/view_HB?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:23.183 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:23.183 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:23.184 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:23.184 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:24:23.184 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:23.185 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:23.186 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:23.187 [print] "false";"true";"true" 
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:22.402 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '710a6a9b-c09f-4660-b15a-2d5bee27e7e3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 793ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '710a6a9b-c09f-4660-b15a-2d5bee27e7e3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:23.202 [print] https://service.pdok.nl/cbs/gebiedsindelingen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:23.202 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:23.203 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:23.203 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:23.204 [print] Beheer PDOK 
* print operateson 000ms
05:24:23.204 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:23.205 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:23.205 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:23.206 [print] "true";"true" 
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:23.073 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
777ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '931b1a00-ad24-4eed-a73c-cb5441056136' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '931b1a00-ad24-4eed-a73c-cb5441056136' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:23.847 [print] https://service.pdok.nl/rvo/nationaleparken/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:23.848 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:23.849 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:23.849 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:23.849 [print] Beheer PDOK 
* print operateson 000ms
05:24:23.849 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:23.850 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:23.851 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:23.851 [print] "true";"true" 
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:23.093 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
778ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '08a784fe-0da8-4ede-bec9-c28fa81fc11d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 769ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '08a784fe-0da8-4ede-bec9-c28fa81fc11d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:23.868 [print] https://service.pdok.nl/provincies/provinciaal-landschapsbeleid/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:23.868 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:23.869 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:23.869 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:23.869 [print] Beheer PDOK 
* print operateson 000ms
05:24:23.869 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:23.870 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:23.871 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:23.872 [print] "true";"true" 
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:23.189 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
772ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b914aa84-1a15-4d6c-950e-00c739946029' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 763ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b914aa84-1a15-4d6c-950e-00c739946029' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:23.959 [print] https://service.pdok.nl/rvo/restwarmte/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:23.959 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:23.960 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:23.960 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:23.961 [print] Beheer PDOK 
* print operateson 000ms
05:24:23.961 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:23.962 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:23.962 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:23.963 [print] "true";"true" 
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:23.208 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7a748a59-36f4-475b-9647-402b5ce89a1c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 793ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a748a59-36f4-475b-9647-402b5ce89a1c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:24.008 [print] https://service.pdok.nl/kadaster/lc/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:24.008 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:24.009 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:24.009 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:24.010 [print] Beheer PDOK 
* print operateson 000ms
05:24:24.010 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:24.011 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:24.012 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:24.012 [print] "true";"true" 
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:23.854 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
785ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:24.635 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:24.636 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:24.636 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:24.636 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:24.637 [print] Beheer PDOK 
* print operateson 000ms
05:24:24.638 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ror-9d8e-4758-83fx-28b057f185e1#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:24.639 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:24.640 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:24.640 [print] "true";"true" 
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:23.874 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
810ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'deaf8380-ad45-48d2-8c3e-81164471bafb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 800ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'deaf8380-ad45-48d2-8c3e-81164471bafb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:24.681 [print] https://service.pdok.nl/cbs/vk500/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:24.682 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:24.682 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:24.683 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:24.683 [print] Beheer PDOK 
* print operateson 000ms
05:24:24.683 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:24.684 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:24.685 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:24.686 [print] "true";"true" 
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:23.965 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
794ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8eb296dd-0e1d-4ed9-be24-297149d770f8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 783ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8eb296dd-0e1d-4ed9-be24-297149d770f8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:24.755 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2015/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:24.755 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:24.756 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:24.756 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:24.757 [print] Beheer PDOK 
* print operateson 000ms
05:24:24.757 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:24.758 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:24.759 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:24.760 [print] "true";"true" 
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:24.015 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
760ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '47d416f8-76e8-441c-9b19-c8f889dfe62c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 750ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '47d416f8-76e8-441c-9b19-c8f889dfe62c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:24.771 [print] https://service.pdok.nl/kadaster/gn/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:24.772 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:24.773 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:24.773 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:24.774 [print] Beheer PDOK 
* print operateson 000ms
05:24:24.774 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:24.776 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:24.777 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:24.778 [print] "true";"true" 
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:24.645 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 794ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:25.446 [print] https://service.pdok.nl/cbs/pd/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:25.446 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:25.447 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:25.447 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:25.448 [print] Beheer PDOK 
* print operateson 000ms
05:24:25.448 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:25.449 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:25.450 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:25.450 [print] "true";"true" 
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:24.689 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
789ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '13e4dff0-1e80-11e2-81c1-0800200c9a66' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '13e4dff0-1e80-11e2-81c1-0800200c9a66' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:25.476 [print] https://www.gdngeoservices.nl/inspire/downloads/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:25.476 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:25.477 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:25.477 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:25.478 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:24:25.478 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:25.479 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:25.480 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:25.480 [print] "true";"true" 
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:24.763 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '54122631-d343-40be-9c28-e44626b37a0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:25.558 [print] https://service.pdok.nl/cbs/hh/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:25.558 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:25.559 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:25.559 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:25.559 [print] Beheer PDOK 
* print operateson 000ms
05:24:25.560 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:25.561 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:25.561 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:25.562 [print] "true";"true" 
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:24.780 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
827ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1512b29e-80d4-4677-bcae-a3f9f82a223d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 808ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1512b29e-80d4-4677-bcae-a3f9f82a223d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:25.594 [print] https://service.pdok.nl/brt/top10nl/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:25.595 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 005ms
* print protocol2 000ms
05:24:25.601 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:25.601 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:25.602 [print] Beheer PDOK 
* print operateson 000ms
05:24:25.602 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=29d5310f-dd0d-45ba-abad-b4ffc6b8785f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:25.604 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:25.605 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:25.606 [print] "true";"true" 
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:25.453 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
789ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'aa31349f-9607-4fdb-83ac-732f0b942adc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aa31349f-9607-4fdb-83ac-732f0b942adc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:26.238 [print] https://service.pdok.nl/provincies/grondwaterbeschermingsgebieden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:26.238 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:26.239 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:26.239 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:26.240 [print] Beheer PDOK 
* print operateson 000ms
05:24:26.240 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=666554ed-5106-487d-b4bf-69fbd888a6d7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:26.241 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:26.242 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:26.243 [print] "true";"true" 
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:25.483 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 786ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:26.274 [print] https://service.pdok.nl/kadaster/hy/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:26.275 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:26.276 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:26.276 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:26.277 [print] Beheer PDOK 
* print operateson 000ms
05:24:26.277 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:26.278 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:26.279 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:26.280 [print] "true";"true" 
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:25.564 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bb85e473-c04a-42a6-9fdc-f0bb0239327e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 791ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bb85e473-c04a-42a6-9fdc-f0bb0239327e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:26.362 [print] https://service.pdok.nl/kadaster/gebouwen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:26.363 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:26.363 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:26.363 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:26.364 [print] Beheer PDOK 
* print operateson 000ms
05:24:26.364 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:26.366 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:26.367 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:26.368 [print] "true";"true" 
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:25.612 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
777ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dc250a60-0ac6-487f-8a42-cb4f67582f34' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 768ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dc250a60-0ac6-487f-8a42-cb4f67582f34' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:26.392 [print] https://service.pdok.nl/kadaster/ad/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:26.393 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:26.393 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:26.393 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:26.394 [print] Beheer PDOK 
* print operateson 000ms
05:24:26.394 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:26.395 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:26.395 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:26.396 [print] "true";"true" 
* eval db.writeln('"dc250a60-0ac6-487f-8a42-cb4f67582f34","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dc250a60-0ac6-487f-8a42-cb4f67582f34","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dc250a60-0ac6-487f-8a42-cb4f67582f34","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:26.245 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:27.038 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwateractueel/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:27.038 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:27.039 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:27.039 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:27.040 [print] Beheer PDOK 
* print operateson 000ms
05:24:27.040 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:27.041 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:27.042 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:27.042 [print] "true";"true";"true" 
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:26.283 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
831ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88a337a9-bed3-4d79-80fa-ff4b45990d7d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 821ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a337a9-bed3-4d79-80fa-ff4b45990d7d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:27.111 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:27.111 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:27.112 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:27.112 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:27.112 [print] Beheer PDOK 
* print operateson 000ms
05:24:27.112 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:27.113 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:27.114 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:27.115 [print] "true";"true" 
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:26.370 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
775ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68a7e4c1-0073-4a1a-a6df-084d2badf45a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 762ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68a7e4c1-0073-4a1a-a6df-084d2badf45a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 005ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:27.143 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:27.143 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:27.144 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:27.144 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:27.144 [print] Beheer PDOK 
* print operateson 000ms
05:24:27.144 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:27.146 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:27.146 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:27.147 [print] "true";"true" 
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:26.398 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
784ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd84b0a71-4460-4e16-8a7e-5507f2e6bcbf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd84b0a71-4460-4e16-8a7e-5507f2e6bcbf' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:27.179 [print] https://service.pdok.nl/bzk/bro-grondwaterspiegeldiepte/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:27.180 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:27.180 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:27.180 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:27.181 [print] Beheer PDOK 
* print operateson 000ms
05:24:27.181 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b756dabe-a331-42cd-b45e-f61828ee4534#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:27.182 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:27.183 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:27.183 [print] "true";"true" 
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:27.045 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
801ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0017219b-fb75-47aa-a6bf-496f2514e545' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0017219b-fb75-47aa-a6bf-496f2514e545' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:27.839 [print] https://service.pdok.nl/provincies/aardkundige-waarden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:24:27.842 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:27.843 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:27.843 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:27.844 [print] Beheer PDOK 
* print operateson 000ms
05:24:27.844 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:27.846 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:27.847 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:27.847 [print] "true";"true" 
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:27.117 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
785ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd624bfd0-8f21-44c4-a22c-0f0877a539fc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd624bfd0-8f21-44c4-a22c-0f0877a539fc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 004ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:27.896 [print] https://service.pdok.nl/provincies/geluidzones-rondom-vliegvelden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:27.897 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:27.897 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:27.898 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:27.899 [print] Beheer PDOK 
* print operateson 000ms
05:24:27.899 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41023936-009d-48ec-a90d-c966895463c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:27.901 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:27.902 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:27.903 [print] "true";"true" 
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:27.149 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7358a8bc-42db-4eeb-9b3e-a081f7803b45' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 789ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7358a8bc-42db-4eeb-9b3e-a081f7803b45' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:27.944 [print] https://service.pdok.nl/kadaster/au/atom/v2_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:27.945 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:27.946 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:27.946 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:27.946 [print] Beheer PDOK 
* print operateson 000ms
05:24:27.946 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:27.947 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:27.948 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:27.949 [print] "true";"true" 
* eval db.writeln('"7358a8bc-42db-4eeb-9b3e-a081f7803b45","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7358a8bc-42db-4eeb-9b3e-a081f7803b45","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7358a8bc-42db-4eeb-9b3e-a081f7803b45","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:27.186 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
807ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8fb3a06d-af1a-4da9-a769-41edf3591805' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8fb3a06d-af1a-4da9-a769-41edf3591805' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:27.989 [print] https://service.pdok.nl/provincies/stiltegebieden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:27.990 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:27.990 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:27.990 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:27.991 [print] Beheer PDOK 
* print operateson 000ms
05:24:27.992 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:27.993 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:27.993 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:27.994 [print] "true";"true" 
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:27.850 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a0ad469d-be1b-4d38-b699-faf946666bcc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a0ad469d-be1b-4d38-b699-faf946666bcc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 005ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:28.647 [print] https://service.pdok.nl/lv/bag/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:28.648 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:28.648 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:28.648 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:28.649 [print] Beheer PDOK 
* print operateson 000ms
05:24:28.649 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:28.650 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:28.650 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:28.651 [print] "true";"true" 
* eval db.writeln('"a0ad469d-be1b-4d38-b699-faf946666bcc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a0ad469d-be1b-4d38-b699-faf946666bcc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a0ad469d-be1b-4d38-b699-faf946666bcc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:27.906 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '101304f0-2cf2-4ce0-aa23-cd7e4000fbba' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 794ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101304f0-2cf2-4ce0-aa23-cd7e4000fbba' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:28.707 [print] https://service.pdok.nl/kadaster/sr/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:28.707 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:28.708 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:28.709 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:28.709 [print] Beheer PDOK 
* print operateson 000ms
05:24:28.710 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:28.711 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:28.712 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:28.712 [print] "true";"true" 
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:27.951 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
806ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '15d2aa2a-1e55-4ca4-986b-0d12768675a1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 796ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15d2aa2a-1e55-4ca4-986b-0d12768675a1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:28.753 [print] https://service.pdok.nl/provincies/natuurnetwerk-nederland/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:28.754 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:28.754 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:28.754 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:28.755 [print] Beheer PDOK 
* print operateson 000ms
05:24:28.755 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:28.756 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:28.757 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:28.758 [print] "true";"true" 
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:27.996 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
806ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 796ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:28.799 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:28.799 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:28.800 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:28.800 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:28.801 [print] Beheer PDOK 
* print operateson 000ms
05:24:28.801 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:28.802 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:28.803 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:28.803 [print] "true";"true" 
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:28.654 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
749ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f38ea40d-9029-465c-9db2-c8a3099e21a2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 740ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f38ea40d-9029-465c-9db2-c8a3099e21a2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:29.400 [print] https://service.pdok.nl/provincies/wet-ammoniak-veehouderij-gebieden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:29.400 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:29.401 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:29.401 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:29.402 [print] Beheer PDOK 
* print operateson 000ms
05:24:29.402 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:29.403 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:29.404 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:29.405 [print] "true";"true" 
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:28.715 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
809ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '91b1f8ca-63a0-4ce6-b7e1-456ee6945638' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 794ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91b1f8ca-63a0-4ce6-b7e1-456ee6945638' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 002ms
05:24:29.518 [print] https://service.pdok.nl/rvo/schelpdierpercelen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:29.519 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:29.520 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:29.521 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:29.522 [print] Beheer PDOK 
* print operateson 000ms
05:24:29.522 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:29.524 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:29.525 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:29.526 [print] "true";"true" 
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:28.760 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 001ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '80acf20e-66fd-4276-b218-7a045699245a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80acf20e-66fd-4276-b218-7a045699245a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:29.547 [print] https://service.pdok.nl/rws/geluidbelasting/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:29.548 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:29.549 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:29.549 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:29.550 [print] Beheer PDOK 
* print operateson 000ms
05:24:29.550 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=undefined#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:29.553 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:29.553 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:29.554 [print] "true";"true" 
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:28.808 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
801ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '181b54ed-14d2-4fda-bae7-747972340f2f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '181b54ed-14d2-4fda-bae7-747972340f2f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 005ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:29.605 [print] https://service.pdok.nl/provincies/provinciale-monumenten/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:29.606 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:29.606 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:29.607 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:29.607 [print] Beheer PDOK 
* print operateson 000ms
05:24:29.608 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:29.609 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:29.610 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:29.610 [print] "true";"true" 
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:29.407 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 784ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:30.198 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:30.199 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:30.200 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:30.200 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:30.201 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:30.201 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:30.202 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:30.203 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:30.204 [print] "false";"false" 
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:29.528 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:30.315 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:30.316 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:30.317 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:30.318 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:30.319 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:30.319 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:30.325 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:30.327 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:30.328 [print] "false";"false" 
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:29.556 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 002ms
05:24:30.332 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:30.333 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
05:24:30.335 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:30.335 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:30.336 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:30.337 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:30.338 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:30.340 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:30.341 [print] "false";"false" 
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:29.613 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 782ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:30.401 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:30.402 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:30.403 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:30.404 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:30.405 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:24:30.405 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:30.407 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:30.408 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:30.409 [print] "false";"false" 
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:30.206 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
787ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '252db472-201d-430b-9c55-4d37563787bc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '252db472-201d-430b-9c55-4d37563787bc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:30.991 [print] https://service.pdok.nl/rws/vaarwegmarkeringennld/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:30.991 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:30.992 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:30.992 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:30.992 [print] Beheer PDOK 
* print operateson 000ms
05:24:30.992 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:30.993 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:30.994 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:30.995 [print] "true";"true" 
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:30.330 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
834ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 002ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '60dc9632-50c8-40b1-ac63-cd91b85352d2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 819ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '60dc9632-50c8-40b1-ac63-cd91b85352d2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:31.158 [print] https://service.pdok.nl/cbs/wb2021/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:31.158 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:31.159 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:31.159 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:24:31.161 [print] Beheer PDOK 
* print operateson 000ms
05:24:31.162 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:31.163 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:31.164 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:31.166 [print] "true";"true";"true" 
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:30.343 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
785ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:31.124 [print] https://geodata.nationaalgeoregister.nl/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:31.125 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:31.125 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:31.126 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:31.126 [print] Beheer PDOK 
* print operateson 000ms
05:24:31.126 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:31.128 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:31.129 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:31.130 [print] "false";"true";"true" 
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:30.412 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 781ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:31.204 [print] https://service.pdok.nl/bzk/bro-geomorfologischekaart/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:31.204 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:31.205 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:31.205 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:31.205 [print] Beheer PDOK 
* print operateson 000ms
05:24:31.205 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=459231d0-7379-4f26-a444-7616e1d888f0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:31.206 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:31.207 [print] #notpresent 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:31.207 [print] #notpresent 
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:30.997 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8a772a52-d659-47b3-a131-82398fb78664' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 786ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8a772a52-d659-47b3-a131-82398fb78664' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:31.789 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:31.790 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:31.790 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:31.790 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:31.791 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:24:31.791 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:31.792 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:31.793 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:31.794 [print] true 
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:31.132 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 778ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 005ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:31.924 [print] https:\/\/service.pdok.nl\/lv\/bag\/wfs\/v2_0?request=getCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:31.924 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:31.925 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:31.925 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:31.926 [print] Beheer PDOK 
* print operateson 000ms
05:24:31.926 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:31.928 [print] "http:\/\/";"";"http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:31.928 [print] "";"Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:31.929 [print] "true";"true";"true" 
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:31.168 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
814ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 802ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:31.978 [print] https:\/\/service.pdok.nl\/lv\/bag\/wms\/v2_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:31.979 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:31.980 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:31.980 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:31.981 [print] Beheer PDOK 
* print operateson 000ms
05:24:31.981 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:31.982 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:31.983 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:31.984 [print] "true";"true" 
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:31.210 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '559f7f5b-44fc-4003-9fb5-4d8c9aff6060' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 791ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '559f7f5b-44fc-4003-9fb5-4d8c9aff6060' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:32.007 [print] https://service.pdok.nl/kadaster/tn/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:32.007 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:32.008 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:32.008 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:32.008 [print] Beheer PDOK 
* print operateson 000ms
05:24:32.009 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:32.010 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:32.010 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:32.011 [print] "true";"true" 
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:31.796 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
777ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 767ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:32.570 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:32.571 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:32.571 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:32.571 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:32.572 [print] KNMI 
* print operateson 000ms
05:24:32.572 [print] https://haleconnect.com/services/bsp/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:32.573 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:32.574 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:32.574 [print] true 
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:31.931 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
767ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '755d488b-7b94-4883-95be-6aa279604f85' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 757ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:32.695 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:32.696 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:32.696 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:32.696 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:32.697 [print] RIVM 
* print operateson 000ms
05:24:32.697 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:32.698 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:32.699 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:32.700 [print] "true";"true";"true" 
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:31.986 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
791ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ce0a3f8e-6713-455f-805e-a067162c287d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce0a3f8e-6713-455f-805e-a067162c287d' 005ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:32.772 [print] https://haleconnect.com/ows/services/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:32.773 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:32.774 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:32.774 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:32.775 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:24:32.776 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:32.777 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:32.778 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:32.779 [print] true 
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:32.017 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:32.809 [print] https://geodata.nationaalgeoregister.nl/inspire/elu/wfs?request=GetCapabilitiesservice=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:32.810 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:32.810 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:32.811 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:32.811 [print] Beheer PDOK 
* print operateson 000ms
05:24:32.811 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:32.813 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:32.814 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:32.814 [print] "true";"true" 
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:32.577 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
818ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c6308500-3439-4840-88cb-7532cabbfcb4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 806ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6308500-3439-4840-88cb-7532cabbfcb4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:33.391 [print] https://haleconnect.com/ows/services/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:33.391 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:33.392 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:33.392 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:33.393 [print] KNMI 
* print operateson 000ms
05:24:33.394 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:33.395 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:33.396 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:33.397 [print] true 
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:32.702 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 773ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:33.482 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-EEZ-volgens-UNCLOS-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:33.482 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:33.483 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:33.483 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:33.484 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:33.484 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:33.485 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:33.485 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:33.486 [print] "true";"true" 
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:32.781 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
808ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 792ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 004ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:33.585 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnmarienestrategie2018/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:33.585 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:33.586 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:33.587 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:33.587 [print] Beheer PDOK 
* print operateson 000ms
05:24:33.588 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a33c92d0-e29b-43cb-b681-f942ef597331#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=353108a0-f0f8-4f8e-9d0e-60f18dfda169#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:33.589 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:33.590 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:33.591 [print] "true";"true" 
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:32.817 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
790ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 777ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:33.603 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:33.604 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:33.604 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:33.604 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:33.605 [print] Beheer PDOK 
* print operateson 000ms
05:24:33.605 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=cc931834-5f9a-4106-a3a3-d5bf553b2675#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=07d78f5e-f4c4-4c92-b866-94eb2cb38516#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=917b5ba0-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:33.607 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:33.607 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:33.608 [print] "true";"true" 
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:33.400 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
797ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '52d0313e-0d2b-44b4-b51e-d9e504307f70' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '52d0313e-0d2b-44b4-b51e-d9e504307f70' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:34.194 [print] https://service.pdok.nl/bzk/bro-environmental-monitoring-facilities/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:34.195 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:34.195 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:34.195 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:34.196 [print] Beheer PDOK 
* print operateson 000ms
05:24:34.196 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:34.197 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:34.198 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:34.198 [print] "true";"true" 
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:33.488 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd0b1a576-d1c5-47b4-972f-353f37eb1f8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 766ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd0b1a576-d1c5-47b4-972f-353f37eb1f8d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:34.261 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:34.262 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:34.262 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:34.262 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:34.263 [print] KNMI 
* print operateson 000ms
05:24:34.263 [print] https://haleconnect.com/services/bsp/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:34.264 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:34.265 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:34.265 [print] true 
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:33.594 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7f79fc69-d0c7-4913-a05a-527c90453297' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7f79fc69-d0c7-4913-a05a-527c90453297' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:34.386 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:34.387 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:34.387 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:34.387 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:34.388 [print] KNMI 
* print operateson 000ms
05:24:34.388 [print] https://haleconnect.com/services/bsp/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:34.390 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:34.391 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:34.392 [print] true 
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:33.610 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
794ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 782ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:34.400 [print] https://geodata.nationaalgeoregister.nl/schelpdierwater/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:34.400 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:34.401 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:34.401 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:34.402 [print] Beheer PDOK 
* print operateson 000ms
05:24:34.402 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:34.404 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:34.405 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:34.406 [print] "true";"true" 
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:34.200 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
907ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 894ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:35.102 [print] https://geodata.nationaalgeoregister.nl/inspire/elu/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:35.103 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:35.103 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:35.103 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:35.104 [print] Beheer PDOK 
* print operateson 000ms
05:24:35.105 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:35.106 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:35.108 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:35.109 [print] "true";"true" 
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:34.268 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
896ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 003ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:35.159 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-ro\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:35.160 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:35.160 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:35.160 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:35.161 [print] Beheer PDOK 
* print operateson 000ms
05:24:35.162 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:35.163 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:35.164 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:35.165 [print] "true";"true" 
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:34.394 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 003ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:35.179 [print] https:\/\/geodata.nationaalgeoregister.nl\/ahn3\/wcs?&service=wcs&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:35.179 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:35.180 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:35.180 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:35.181 [print] Beheer PDOK 
* print operateson 000ms
05:24:35.181 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:35.182 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-download-services 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:35.183 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"de service is conform";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:35.184 [print] "true";"true" 
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:34.408 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
805ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 792ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 003ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:35.210 [print] https://service.pdok.nl/rce/ps-ch/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:35.211 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:35.211 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:35.211 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:35.212 [print] Beheer PDOK 
* print operateson 000ms
05:24:35.212 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:35.213 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:35.214 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:35.215 [print] "true";"true" 
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:35.111 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 784ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:35.903 [print] https:\/\/service.pdok.nl\/rce\/ps-ch\/wfs\/v1_0?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:35.903 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:35.904 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:35.904 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:35.904 [print] Beheer PDOK 
* print operateson 000ms
05:24:35.904 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:35.906 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:35.906 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:35.907 [print] "true";"true" 
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:35.168 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
805ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 794ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:35.969 [print] https://service.pdok.nl/rce/ps-ch/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:35.969 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:35.970 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:35.970 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:35.971 [print] Beheer PDOK 
* print operateson 000ms
05:24:35.971 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:35.972 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:35.973 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:35.973 [print] "true";"true" 
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:35.186 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
829ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 819ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:36.011 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/verkeersscheidingsstelsel\/wfs\/v2_0?service=WFS&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:36.012 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:36.013 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:36.013 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:36.013 [print] Beheer PDOK 
* print operateson 000ms
05:24:36.013 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:36.015 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:36.015 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:36.016 [print] "true";"true" 
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:35.217 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
845ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fe4b36d5-8f69-403f-b084-ce010a4ae3b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 832ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe4b36d5-8f69-403f-b084-ce010a4ae3b2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:36.054 [print] https://service.pdok.nl/rvo/natura2000/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:36.055 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:36.056 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:36.056 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:36.056 [print] Beheer PDOK 
* print operateson 000ms
05:24:36.056 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:36.058 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 004ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:36.062 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:36.062 [print] "true";"true" 
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:35.910 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 786ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 003ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:36.705 [print] https://inspire.caris.nl/geoserver/boundary/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:36.705 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:36.706 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:36.706 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:36.707 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:36.707 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:36.708 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:36.708 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:36.709 [print] "true";"true" 
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:35.980 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
801ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dc9fbc85-1263-4a1b-b001-7be701a6039e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 792ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dc9fbc85-1263-4a1b-b001-7be701a6039e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:36.779 [print] https://service.pdok.nl/kadaster/plu/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:36.779 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:36.780 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:36.780 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:36.780 [print] Beheer PDOK 
* print operateson 000ms
05:24:36.780 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:36.782 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:36.782 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:36.783 [print] "true";"true" 
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:36.018 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
803ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f3e68b05-f5c8-4796-bc67-33a3db1c1d65' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 786ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f3e68b05-f5c8-4796-bc67-33a3db1c1d65' 003ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 002ms
05:24:36.816 [print] https://inspire.caris.nl/geoserver/cz/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:36.817 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:36.818 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:36.818 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:36.819 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:24:36.819 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=060d1139-c371-4c1e-9890-55999adfa4f9&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:36.821 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:36.822 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:36.823 [print] "true";"true" 
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:36.065 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 781ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:36.852 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:36.853 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:36.854 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:36.854 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:24:36.854 [print] RIVM 
* print operateson 000ms
05:24:36.855 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:36.856 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:36.857 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:36.858 [print] "true";"true";"true" 
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:24:36.711 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
801ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:24:37.506 [print] https://service.pdok.nl/brt/top10nl/wms/v1_0?service=wms&request=getCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:24:37.507 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:24:37.508 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:24:37.508 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:24:37.509 [print] Beheer PDOK 
* print operateson 000ms
05:24:37.509 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:24:37.511 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:24:37.512 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:24:37.513 [print] "true";"true" 
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms